![]() |
|
|
|
#1
|
|||
|
|||
|
Thanks Jeff,
I am using Max 2009. Yes I have downloaded the OSG exporter for Max from your site. May I ask here... why it is difficult to work with my own .wrl while .wrl has been used by many examples from Vizard? Regards |
|
#2
|
|||
|
|||
|
I have done it. OSG Exporter 0.9.5 shall be used for Max 2009
I could not have a control into main view that I have imported it. please see my code. HTML Code:
import viz
viz.go()
mainview=viz.clearcolor(viz.SKYBLUE)
view1=viz.add('ground.ive')
view1.setScale(5,5,5)
view1.setPosition(-200,-2000,10550)
avatar = viz.add('vcc_female.cfg')
walkAction = vizact.walkTo([0,view1,40])
avatar.addAction(walkAction)
link = viz.link(viz.MainView, view1)
link.preTrans([0,-.1,-1])
mylight = viz.addLight()
mylight.enable()
mylight.position(0, 1, 0)
mylight.spread(180)
mylight.intensity(5)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|