realbasic-games
[Top] [All Lists]

Joe help... getting at a texture etc.

To: REALbasic-Games at lists dot realsoftware dot com
Subject: Joe help... getting at a texture etc.
From: Chris Dillman <chrisd at plaidworld dot com>
Date: Wed, 14 Jan 2004 22:56:51 -0600

Hi

I used your declares on a getting a mesh out of an object made with.

    BackGroundObj.AddShapePicture p, 1.0

    mesh = GetTriMesh( BackGroundObj.GetShapeHandle( 0 ) )

Ok this seems to work.
So now what I want to know is...

An object made this way has a texture attached some how.

What is that called in quesa?

If the texture has a mask is that part of the texture or...
could the texture be told to um TILE... and the mask be just the size of the
poly....

Like the mask and texture are two separate things to quesa.

What I need to achive in the end is a Masked Quad with a reapeating texture and a Mask...

Example you are tiling a drive way with paving stones...

the Quad represents the projected SQUARE surface of the drive way...
if say it did not have a irregular shape.

The mask represents the shape of the drive way.

--
Email: chrisd at plaidworld dot com
iChat / AIM: crackbunny at mac dot com

Buy Art : http://www.starbounce.com
Listen to Music: http://www.trance-o-matic.com
Play Games: Plaid World Studios http://www.plaidworld.com
Learn game programming at http://www.idevgames.com
Day job: Software Engineer for http://www.riskwise.com, Part of LexisNexis




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

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

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