realbasic-games
[Top] [All Lists]

Re: No filtering on a RB3D texture

To: "REALbasic Games" <REALbasic-Games at lists dot realsoftware dot com>
Subject: Re: No filtering on a RB3D texture
From: Frank C <lists at si-co dot com>
Date: Mon, 29 Mar 2004 21:15:10 -0500
References: <10F3E027-81D9-11D8-9850-0005025761E6 at telia dot com> <5974BF1C-81DF-11D8-B8E5-0003933EA538 at si-co dot com> <D23655D0-81E2-11D8-9850-0005025761E6 at telia dot com>
On 29-Mar-04, at 7:40 PM, Rasmus Lindén wrote:

On Mar 30, 2004, at 2:15 AM, Frank C wrote:

On 29-Mar-04, at 6:30 PM, Rasmus Lindén wrote:

Greets,
I'm making a 3D game where some things are going to be pixelart, thus the filtering of the textures when you make a .AddShapePicture 3d shape is very frustrating.
Is there any way to remove this filtering?

A few declares should do it (sorry if line wrapping screws this up):

Thanks, even thought I can't make it work for me(crashes unexpectedly).

Hmmm, I just tested the code I posted and it worked for me...

Make sure you start Quesa first - that is, don't use these declares until _after_ your RB3DSpace has initialized. It may work from the RB3DSpace's open event, but you should probably delay it with a timer to be safe (this goes for any declare that modifies an RB3DSpace). You will also of course need to change the library name if you're using Quickdraw3D.

Frank.


- - -
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>