♥ PosetteForever ♥
3D Nightmares... Or... The little sculptor - [Tutorial] Cars With Posable Pedals, Steering Wheel
VK [ Saturday, 24 March 2007, 09:55 PM ]
Post subject: Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
I'm glad to hear that the model is working well. <img src="https://www.posetteforever.com/images/smiles/smile.gif" alt="" />
<br />
<br />
Re filesize:
<br />
1. Removing the unused channels saves about 5% of the (stripped) cr2 filesize.
<br />
2. The big difference between Poser 4 and Poser 5 is the material code: In the
<br />
stripped cr2, the channel code is less than 20%, the material definitions are about 80%
<br />
of the cr2 (84 KB versus 460 KB).
Whazizname [ Thursday, 29 March 2007, 12:39 AM ]
Post subject: Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
To VK;
<br />
<br />
I noticed that on the Vespa, there are dials in the "body" that control the visiblity of the spare tire, and extra seat.
<br />
Would you please explain the procedure for accomplishing that?
<br />
<br />
<img src="https://www.posetteforever.com/images/smiles/happy8.gif" alt="" />
VK [ Thursday, 29 March 2007, 12:44 PM ]
Post subject: Re: Cars With Posable Pedals, Steering Wheel - Like The Cobra
The changing parts are "alternate geometry".
<br />
<br />
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.
<br />
<br />
<!-- no smilies start --><div class="code"><div class="code-header" id="codehdr2_0b4de475" style="position:relative;">Code: [<a href="download_post.php?post=35207">Download</a>] [<a href="javascript:void(0)" onclick="ShowHide('code_0b4de475','code2_0b4de475','');ShowHide('codehdr_0b4de475','codehdr2_0b4de475','')">Hide</a>] [<a href="javascript:void(0)" onclick="select_text('code_0b4de475')">Select</a>]</div><div class="code-header" id="codehdr_0b4de475" style="position:relative;display:none;">Code: [<a href="download_post.php?post=35207">Download</a>] [<a href="javascript:void(0)" onclick="ShowHide('code_0b4de475','code2_0b4de475',''); ShowHide('codehdr_0b4de475','codehdr2_0b4de475','')">Show</a>]</div><div class="code-content" id="code_0b4de475" style="position:relative;"><span class="code-row-text">actor sparewheel:1
<br />
{
<br />
storageOffset 0 0 0
<br />
geomHandlerGeom 13 p_dummy <--- tiny single polygon
<br />
}
<br />
actor pillion:1
<br />
{
<br />
storageOffset 0 0 0
<br />
geomHandlerGeom 13 p_dummy
<br />
}
<br />
</span></div></div><!-- no smilies end -->
<br />
<br />
There are extra geometries for the pillion, the spare wheel, and the rack to mount the spare wheel.
<br />
<br />
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.
<br />
<br />
<!-- no smilies start --><div class="code"><div class="code-header" id="codehdr2_a0056012" style="position:relative;">Code: [<a href="download_post.php?post=35207&item=1">Download</a>] [<a href="javascript:void(0)" onclick="ShowHide('code_a0056012','code2_a0056012','');ShowHide('codehdr_a0056012','codehdr2_a0056012','')">Hide</a>] [<a href="javascript:void(0)" onclick="select_text('code_a0056012')">Select</a>]</div><div class="code-header" id="codehdr_a0056012" style="position:relative;display:none;">Code: [<a href="download_post.php?post=35207&item=1">Download</a>] [<a href="javascript:void(0)" onclick="ShowHide('code_a0056012','code2_a0056012',''); ShowHide('codehdr_a0056012','codehdr2_a0056012','')">Show</a>]</div><div class="code-content" id="code_a0056012" style="position:relative;"><span class="code-row-text">actor pillion:1
<br />
{
<br />
name pillion
<br />
on
<br />
bend 0
<br />
dynamicsLock 0
<br />
hidden 0
<br />
addToMenu 1
<br />
castsShadow 1
<br />
includeInDepthCue 1
<br />
parent vespabody:1
<br />
alternateGeom pillion
<br />
{
<br />
name pillion
<br />
objFile 1003 :Runtime:Geometries:vspscooter:pillion3.obj <--- the alternate geometry
<br />
}
<br />
channels
<br />
{
<br />
geomChan pillion <--- choose alternate geometry
<br />
{
<br />
uniqueInterp
<br />
name (pillion)
<br />
initValue 0
<br />
hidden 1
<br />
forceLimits 4
<br />
min 0
<br />
max 1
<br />
trackingScale 0.045
<br />
keys
<br />
{
<br />
static 1
<br />
k 0 0
<br />
}
<br />
interpStyleLocked 1
<br />
staticValue 0
<br />
valueOpDeltaAdd <--- ERC slave code
<br />
Figure 1
<br />
BODY:1
<br />
vpvsp3pillion
<br />
deltaAddDelta 1.000000
<br />
}
<br />
}
<br />
</span></div></div><!-- no smilies end -->
<br />
<br />
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.
<br />
<br />
<!-- no smilies start --><div class="code"><div class="code-header" id="codehdr2_3a199c52" style="position:relative;">Code: [<a href="download_post.php?post=35207&item=2">Download</a>] [<a href="javascript:void(0)" onclick="ShowHide('code_3a199c52','code2_3a199c52','');ShowHide('codehdr_3a199c52','codehdr2_3a199c52','')">Hide</a>] [<a href="javascript:void(0)" onclick="select_text('code_3a199c52')">Select</a>]</div><div class="code-header" id="codehdr_3a199c52" style="position:relative;display:none;">Code: [<a href="download_post.php?post=35207&item=2">Download</a>] [<a href="javascript:void(0)" onclick="ShowHide('code_3a199c52','code2_3a199c52',''); ShowHide('codehdr_3a199c52','codehdr2_3a199c52','')">Show</a>]</div><div class="code-content" id="code_3a199c52" style="position:relative;"><span class="code-row-text">actor BODY:
<br />
{
<br />
{
<br />
valueParm vpvsp3pillion <--- ERC master
<br />
{
<br />
name Pillion
<br />
initValue 0
<br />
hidden 0
<br />
forceLimits 4
<br />
min 0
<br />
max 1
<br />
trackingScale 2
<br />
keys
<br />
{
<br />
static 0
<br />
k 0 0
<br />
}
<br />
interpStyleLocked 1
<br />
}
<br />
</span></div></div><!-- no smilies end -->
<br />
<br />
You find more information on alternateGeom and ERC in the ERC tutorial, Chapter 9.
<br />
(www.atlantis23.com/erc_download.html).
goat4444 [ Friday, 06 July 2007, 03:34 PM ]
Post subject: Re: [Tutorial] Cars With Posable Pedals, Steering Wheel
Just wondering if anyone has had luck making more cars!
<br />
<br />
Great tutorial!!
Tormie [ Friday, 06 July 2007, 05:59 PM ]
Post subject: Re: [Tutorial] Cars With Posable Pedals, Steering Wheel
Not me but I'm having some ideas for alternate geometries <img src="https://www.posetteforever.com/images/smiles/lol.gif" alt="" />