Forum: Carrara


Subject: Misbehaving shaders

MaxBeckett opened this issue on Mar 07, 2002 ยท 7 posts


MaxBeckett posted Thu, 07 March 2002 at 3:34 PM

Hi gang, Im in the process of putting together my first real scene (woo-hoo!), its fairly simple, a room , a table, a shelf with books and a model sailboat on it. Ive ran into a little problem that seems to keep repeating itself. I created some books in a separate file, and shaded them using texture maps I made in photoshop. When I copy the books into my scene the shaders are all rightat first, but at some point my beautiful book covers vanish and are replaced with other shaders that are part of the scene. I have the same problem with the sailboat. I thought perhaps the problem came form leaving the shaders with generic names ( la shader 23), and when copying the object into a file with another shader with the same generic name, that caused the trouble. Well I went back to my book file, named all the shaders individually, tried again, and the problem persists. I just reopened my scene after working on something else, and my book covers (and spines, and backs) have again vanished. Would I need to import the shaders separately from the objects and reapply them ? Any thoughts? (I hope I explained this clearly). Cheers, Max


pixelicious posted Thu, 07 March 2002 at 4:43 PM

hi max, i was having the same problem. everything looks great when you first place the model, and the next time you open the file, no textures. i solved the problem by adding my textures to the browser. i'm not sure if doing this before saving your model to the browser has any impact or not. but i do the textures first, then the model. seems to work. all my shaders have specific names, so i don't know if that is an issue. -scott


HARBINGER-3D posted Thu, 07 March 2002 at 5:02 PM

I have the same problem too - I think that many if you rename all the shaders so they don't conflict with any in the existing scene it should be ok - but I havne't tried it, so I can't say for sure. Oh you can "copy" the file instead of importing it and then paste it into the scene. but then you'll have to copy all the master shaders as well and paste them into the scene too! What a pain in the @$$


Kixum posted Thu, 07 March 2002 at 6:42 PM

One thing you can try is to put your books into a directory on the object section of the object tray (the tray that's on the left hand side of the page in the assembly room). If you drag an object in there, close the file you made the object in, open up your new file and drag the object out of the tray and into your new scene, I think it should work. I think if you transport an object in this manner, you should have a better shot at getting an object from one file to another. The object is more "canned" and complete if you do this from my experience. Let me know if this works because I'm very curios to know if it's something I'm doing different or if it's just something I haven't collided with yet. I'm using the PC version of C. -Kix

-Kix


brenthomer posted Thu, 07 March 2002 at 10:50 PM

this may sound dumb but do you get that error when you render also? I use openGL on my computer and in the assembly room it always looks like it uses the wrong texture, but when I do a render it shows up. could be way off..but sometimes you have to eliminate the obvious :)


MaxBeckett posted Fri, 08 March 2002 at 6:53 AM

Hi folks, thanks for the responses. The solution I used was to put the shaders in the browser tray and reapply them to the books in my scene. For some reason I didnt think to just plop the books themselves in there. I ll try that with the sailboat, it will be a lot faster, because there are a lot of separate parts to which I would need reapply the shaders. Oh and I didnt try rendering to see if te error was limited to the assembly room or not. I might give it a shot before I fix the boat, just for the hell of it. Ill soon be ready to show you all my first Carrara image. Its simple but I think I did a decent job for a newbie. Cheers, Max


MarkBremmer posted Fri, 08 March 2002 at 8:51 AM

Kixum was correct about using the object tray. It is the way Eovia recommended to do it a few months back. It's also an extra safety measure in case your original document becomes corrupted. You'll still have all of the components 'saved' seperately that you can just drag and drop into a new scene. Mark www.MarkBremmer.com