![]() |
|
#1
|
|||
|
|||
|
Adding BumpMaps
I'm trying to add bumpmaps to a simple cube and ran into a few weird problems.
The vizard help file doesn't give a lot of results on 'bumpmap' so I wondered if I was doing it wrong. Code:
cube = viz.add('Export//BumbmapCube.osg')
bumbmap = viz.add('Export//images//bumpmap_normalmap.jpg')
text = cube.getTexture()
cube.bumpmap(bumbmap,'',0)
cube.texture(text,'',1)
cube.appearance(viz.DECAL)
1. Is there a way to apply the bumpmap with out overwriting/removing the existing texture 2. Is there a more elegant way to add a bumpmap 3. Is there a file format that exports the bumpmaps added in 3DS max and/or Maya so that it does not have to be added later on in the Vizard code. Last edited by sleiN13; 11-19-2010 at 05:26 AM. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble with adding actions | vijaykiran | Vizard | 0 | 10-05-2009 04:18 PM |
| adding more than 1 action for avatar animation slider control | yak | Vizard | 0 | 07-21-2009 12:22 PM |
| Adding custom faces | mjabon | Vizard | 2 | 04-01-2009 09:34 PM |
| Awkward neck/shoulder connection when adding custom head to vcc model. | vEsotu | Vizard | 5 | 10-09-2008 06:07 PM |
| For users with a floating license: Adding Vizard License Server as a Service | mspusch | Vizard | 0 | 03-03-2006 12:36 PM |