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: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 17 Nov 2005 16:47:08 -0700
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <e0fc9cea12bd8 dot 437c6569 at optonline dot net> <a06200710bfa26178b8ce at [10 dot 0 dot 1 dot 4]> <437D0C39 dot 4070706 at optonline dot net> <a06200725bfa2beb59446 at [10 dot 0 dot 1 dot 4]> <437D158D dot 7070408 at optonline dot net>
At 6:43 PM -0500 11/17/05, Daniel Lurie wrote:

Thanks, Joe. It works fine. As do all the other examples. I am stumped. I can make a new instance of the material class, but cannot assign anything to the texture property of it.

Did you compare your code to the code in the example that does the same thing?

Is there any special consideration with the depth of the picture I assign to it? I can't figure anything else.

Yes, it probably has to be a 32-bit picture.

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
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>