realbasic-games
[Top] [All Lists]

Re: How do I assign a texture to a material in RB3D?

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: How do I assign a texture to a material in RB3D?
From: Lo Saeteurn <realbasic at miensoftware dot com>
Date: Wed, 16 Nov 2005 22:06:40 -0800
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <437BF864 dot 7050508 at optonline dot net> <01CF9536-D32A-4009-934E-3C23E554667D at miensoftware dot com> <437C09E0 dot 9080004 at optonline dot net>
Quesa model viewer is in the same folder as your app? If not, does it have the QuesaLib within the same folder? You either need it in the same folder as the app or in some folder (I can't remember) in the Library folder.

An unexpected NIL usually means Quesa/Quickdraw is not loaded properly. At least that's always been the case for me. I end up spending hours figuring out what is wrong with my code only to find that I forgot to include the QuesaLib in the same folder. This has happened to me multiples times. It may or may not be the problem in your case.

On Nov 16, 2005, at 8:41 PM, Daniel Lurie wrote:

Yes. Quesa model viewer works fine.


Lo Saeteurn wrote:
Is Quesa properly installed?

On Nov 16, 2005, at 7:26 PM, Daniel Lurie wrote:

I tried doing myMaterial.texture=newpicture(64,64,32). I tried making a separate picture object p and doing myMaterial.texture=p. Neither works. Texture comes back as nil. What's going on?




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>