Goto page Previous  1, 2, 3, 4, 5

Subject: Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
I'm glad to hear that the model is working well. :)

Re filesize:
1. Removing the unused channels saves about 5% of the (stripped) cr2 filesize.
2. The big difference between Poser 4 and Poser 5 is the material code: In the
stripped cr2, the channel code is less than 20%, the material definitions are about 80%
of the cr2 (84 KB versus 460 KB).

Profile PM  
Subject: Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
To VK;

I noticed that on the Vespa, there are dials in the "body" that control the visiblity of the spare tire, and extra seat.
Would you please explain the procedure for accomplishing that?

(:

Profile PM  
Subject: Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
The changing parts are "alternate geometry".

In the figureResFile, the geometry of actors "sparewheel" and "pillion" is a single tiny polygon "p_dummy" inside the Vespa body. The "p_dummy" geometry is invisible.

Code: [Hide] [Select]
actor sparewheel:1
   {
   storageOffset 0 0 0
   geomHandlerGeom 13 p_dummy    <---  tiny single polygon
   }
actor pillion:1
   {
   storageOffset 0 0 0
   geomHandlerGeom 13 p_dummy  
   }


There are extra geometries for the pillion, the spare wheel, and the rack to mount the spare wheel.

In the respective actors, for example "pillion", there is an "alternateGeom" instruction to load the pillion geometry. There is also a "geomChan" channel which displays a dial to choose the alternate geometry.

Code: [Hide] [Select]
actor pillion:1
   {
   name    pillion
   on
   bend 0
   dynamicsLock        0
   hidden        0
   addToMenu    1
   castsShadow        1
   includeInDepthCue        1
   parent vespabody:1
   alternateGeom    pillion
       {
       name pillion
       objFile 1003 :Runtime:Geometries:vspscooter:pillion3.obj    <--- the alternate geometry
       }
   channels
       {
       geomChan pillion  <--- choose alternate geometry
           {
           uniqueInterp
           name (pillion)
           initValue 0
           hidden 1
           forceLimits 4
           min 0
           max 1
           trackingScale 0.045
           keys
               {
               static  1
               k  0  0
               }
           interpStyleLocked 1
           staticValue 0
           valueOpDeltaAdd   <---   ERC slave code
               Figure 1
               BODY:1
               vpvsp3pillion
           deltaAddDelta 1.000000
           }
       }


The geomChan channel is an ERC-slave of a master channel in BODY. When you set the master, the geomChan loads and displays the alternate geometry, for example the pillion.

Code: [Hide] [Select]
actor BODY:
   {
       {
       valueParm vpvsp3pillion    <--- ERC master
           {
           name Pillion
           initValue 0
           hidden 0
           forceLimits 4
           min 0
           max 1
           trackingScale 2
           keys
               {
               static  0
               k  0  0
               }
           interpStyleLocked 1
           }


You find more information on alternateGeom and ERC in the ERC tutorial, Chapter 9.
(www.atlantis23.com/erc_download.html).

Profile PM  
Subject: Re: [Tutorial] Cars With Posable Pedals, Steering Wheel
Just wondering if anyone has had luck making more cars!

Great tutorial!!

Profile PM  
Subject: Re: [Tutorial] Cars With Posable Pedals, Steering Wheel
Not me but I'm having some ideas for alternate geometries :grin:

Goto page Previous  1, 2, 3, 4, 5

Page 5 of 5


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You cannot download files
You cannot post calendar events