Re: [Pipmak-Users] Patch rotation proposal
Status: Alpha
Brought to you by:
cwalther
From: Andrea V. <and...@gm...> - 2007-05-22 09:13:08
|
Christian Walther <cwalther <at> gmx.ch> writes: > > Andrea Viarengoa wrote: > > I'm a little confused about set anchorx=anchory=0.5 to make a patch > > to coincide with a cube face, can you explain better? > (.....) Ok, I understand now. > > > If I use the notation (nx,ny,nz), I could set an anchor that doesn't > > lie on the same plane on which the patch image lie. > > I don't understand what you mean by that. The anchor by definition > always lies in the plane of the patch. It need not lie in the plane of a > cube face, but that's what we want. > Probably, I not understand what you mean when speaking about setting the anchor point, I have understand that we could set anchor in 2 manners: 1) {...,anchorx=x, anchory=y,...} 2 coordinates relatives to the image (2d space) or 2) {..., anchor=(nx,ny,nz), ...} or better: {..., anchor_nx=nx, anchor_ny=ny, anchor_nz=nz, ...} 3 coordinates relative to main coordinates system (3d space) centralized on the center of the cube. Have I understood correctly? Yes, the anchor by definition must lies in the plane of the patch, but what prevent the user to set (nx,ny,nz) everywhere in the 3D space, and also in a point does not belong to the plan? For example: my patch lie on plane ny=1, so the plane is represented by (nx,1,nz) I could set, in a next rotation operation: anchor=(0,-1,0) i.e.: anchor_nx=0, anchor_ny=-1, anchor_nz=0 This point doesn't belong to the plane of my patch, But, this couldn't be a problem if I rotate the patch around the line orthogonal to the plane which connect the plane itself and the anchor point. (and this line always exist...) > > Just to get the language straight - does the CPU usage rise *by* 5% (to > 85%) or *fall* to 5%? > I apologize for my bad English, The Cpu usage *rise* to 85% when pipmak is in the background and *fall* to 5-10% when pipmak go to foreground. > with the overlapping windows. On what platform is this? I'm using Windows XP on my notepad On the desktop that I have at home (Windows XP with Nvidia N6600) the Pipmak's cpu usage alway stay under 10% also in the background. I've tryed to install pipmak on an "OLD" Linux machine (CPU=600MHz) with RedHat 9.0 and a matrox G400 as graphic card just to test performance, but I always get the message: Xlib: extension "XFree86-DRI" missing on display ":0.0" ./pipmak: relocation error: ./pipmak: undefined symbol: SDL_RWFromConstMem I have installed the driver for the video card and enabled DRI in XF86Config, and log tell me that Driver and DRI are loaded successfully In fact, in the file /var/log/Xfree86.0.log I can found: ....... (II) Loading extension Xfree86-DRI (II) LoadModule: "mga" (II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o (II) Module mga: vendor="Matrox Graphics Inc. - x86_32 - release v4.4.0 compiled for 4.3.0, module version = 1.1.0 ....... I have also installed these rpm package: SDL-1.2.5-3 SDL_image-1.2.2-5 SDL-ttf-2.0.6-0 openal-0.0.8 Probably this machine is too old to run pipmak, what do you think about? Bye Andrea |