[Tutorial] Cars With Posable Pedals, Steering Wheel


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

Post Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra

#61  VK 24 Mar 2007 21:55

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).
 



 
avatar
 VK 
Not Too Shy To Talk
Not Too Shy To Talk
Life + 1
Life + 1
 
Joined: July 2004
Posts: 31
Tomatoes 310
Lemons 155
hearts 0

  • Back to top Page bottom
 

Post Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra

#62  Whazizname 29 Mar 2007 00:39

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?


 




____________
It's not what you look like, when you're doing what you're doing;
It's what you're doing, when you're doing what it looks like you're doing.
 
avatar
usa.png Whazizname Gender: Male
Power User
Power User
Life + 1
Life + 1
Old Timer
Old Timer
 
Joined: April 2006
Location: Milwaukee, Wisconsin USA
Posts: 654
Tomatoes 5290
Lemons 3860
hearts 101

  • Back to top Page bottom
 

Post Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra

#63  VK 29 Mar 2007 12:44

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: [Download] [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: [Download] [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: [Download] [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).
 



 
avatar
 VK 
Not Too Shy To Talk
Not Too Shy To Talk
Life + 1
Life + 1
 
Joined: July 2004
Posts: 31
Tomatoes 310
Lemons 155
hearts 0

  • Back to top Page bottom
 

Post Re: [Tutorial] Cars With Posable Pedals, Steering Wheel

#64  goat4444 06 Jul 2007 15:34

Just wondering if anyone has had luck making more cars!  

Great tutorial!!
 



 
avatar
 goat4444 
Potential Regular
Potential Regular
Life + 1
Life + 1
 
Joined: December 2006
Posts: 4
Tomatoes 30
Lemons 147
hearts 0

  • Back to top Page bottom
 

Post Re: [Tutorial] Cars With Posable Pedals, Steering Wheel

#65  Tormie 06 Jul 2007 17:59

Not me but I'm having some ideas for alternate geometries
 




____________
 
avatar
it.png Tormie Gender: Male
Posette enthusiast
Posette enthusiast
Life + 1
Life + 1
Renderosity Ban
Renderosity Ban
 
Joined: March 2003
Posts: 8280
Tomatoes 72512
Lemons 50450
hearts 5031

  • Back to top Page bottom
 


HideWas this topic useful?
Link this topic
URL
BBCode
HTML

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



Users browsing this topic: 0 Registered, 0 Hidden and 1 Visitor
Registered Users: None