Ask a Question related to Macromedia Director 3D, Design and Development.
-
rtomada webforumsuser@macromedia.com #1
sw3d display problems on Mac OS 9 & X
Hi there,
I´m developing an application with which the user can change the colors and decors( logos, etc.) of cars. The textures (tiffs) are loaded into a new member using fileio and then are applied to the car.
After the new texture has been applied to the SW3D member, it becomes some kind of transparent. This only happens on Mac, for Windows it works fine. My first thought this happened due to the graphic card of my iMac (8MB) but after testing again with a brand new G5 with a 64MB gforce card I´m no longer sure if that was the problem. The texture to load is quite big (18MB) but I successfully tested the application on my Notebook with a 64mb-Radeon9000 card. So what can it be?
Well,the SW3D Member has got about 550KB. It´s been modeled with Maya as a poly and then it has been combined to one shape. It uses about 10 Shaders, 5 of them have got a texture mappted to it.
The framescript sets all textures to high, nearFiltering to 0, compression to 0 and the render format to #rgba8880. Then some of the shaders are mapped with a reflection map using Lingo. AntiAliasing is set to false. The I use a "Load design"-button to bring in the tiff as a new meber using fileio. After that the default texture of the car is changed to the new member using a script.
The button-script looks the following:
on mouseUp me
set myFile = new(xtra "fileio")
set fn = displayOpen(myFile)
if stringP(fn) then
openFile(myFile, fn, 0)
if status(myFile) = 0 then
set rd = readFile(myFile)
closeFile(myFile)
end if
end if
set myFile = 0
importFileInto (new (#bitmap, member 200), fn)
(member "car" of castLib 1).deletetexture("file9")
(member "car" of castLib 1).newtexture("file9")
(member "car" of castLib 1).texture("file9").member = (member 200 of castLib 1)
(member "car" of castLib 1).shader(4).textureList[1] = (member "car" of castLib 1).texture("file9")
(member "car" of castLib 1).model("Auto")shaderList = (member "car" of castLib 1)shader(4)
member("car").texture("file9").quality = #high
member("car").texture("file9").nearFiltering = 0
member("car").texture("file9").compressed = 0
member("car").texture("file9").renderFormat = #rgba8880
end
Any ideas for that?
Cheers,
Raoul
rtomada webforumsuser@macromedia.com Guest
-
sw3d Plugin for 3ds Max 9
Hi all, I finally got my new copy of max 9! (yay me) It's bucket loads faster but there's one rather large problem with it THERE'S NO SW3D... -
New Anark 3.0 pricing and SW3D thoughts
Well, I hope Intel and their U3D format can make it into a second revision of the SW3D engine for DMX 2005. What I saw as real comp. for SW3D,... -
My browser got problems when open SW3D file
I just tested a havok sample under Director, there came a fatal error and closed Director. Now every dcr file can't be open normally, it took a... -
Vectorworks into SW3D
Hi does anyone know how to get a vectorworks model into shockwave (with the colours.) I can export to DXF, DWG,IGS etc. but they all lose their... -
Cube mapping possible in SW3D
Hi, is there an extra or a trick to achieve cube mapping in SW3D? This would be great for simulating reflections. thank you, markus



Reply With Quote

