Perhaps it's a driver issue?Ref wrote:The plot thickens!xXxMoNkEyMaNxXx wrote:The virtual machine is obviously causing problems, because there are no problems for me on Windows 7.
I'm on Windows 7 and have Jasoco's problems.
Textured Polygons for All!
-
- Party member
- Posts: 235
- Joined: Sat Dec 15, 2012 6:54 am
Re: Textured Polygons for All!
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Textured Polygons for All!
Most likely all the problems we're having with this are driver issues. Thing is xXxMoNkEyMaNxXx designs it to work on his system, and it happens to work fine on mine too, in OS X, but then as you branch out you get different problems from different systems. It's odd, and I don't know a thing about how to understand the PixelEffect code so I can't even help.
What's your graphics card, Ref?
What's your graphics card, Ref?
Re: Textured Polygons for All!
Not a driver issure on my Windows 7 machine - just a brain issue.Jasoco wrote: What's your graphics card, Ref?
Had an error in my code that I thought caused something like what Jasoco was seeing.
All my test scripts so far have performed exactly as would be expected for xXxMoNkEyMaNxXx's excellent Pixel Effect!
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: Textured Polygons for All!
I think that we can assume it's a driver issue, because that would make the most sense. My graphics card: Radeon HD 6870
Re: Textured Polygons for All!
Any chance of a sequel - Textured Triangles fo All?
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: Textured Polygons for All!
That would not be able to figure out perspective, it would simply be some linear interpolation. I'm not sure what you'd want it to act like either. Draw me an example of a grid?
Re: Textured Polygons for All!
Look at OpenGL.
All there rendering is done on triangles.
Ofcouuse, they take care of the perspective.
All there rendering is done on triangles.
Ofcouuse, they take care of the perspective.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Textured Polygons for All!
Yeah, I need me some triangles.
The reason OpenGL triangles work is because they're receiving XYZ coordinates. This library is only receiving 2D XY coordinates. In order for a triangle library to work you would either A) need to provide a 4th hidden point to use as reference, or pass a third "depth" coordinate for each X and Y coordinate.
The reason OpenGL triangles work is because they're receiving XYZ coordinates. This library is only receiving 2D XY coordinates. In order for a triangle library to work you would either A) need to provide a 4th hidden point to use as reference, or pass a third "depth" coordinate for each X and Y coordinate.
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: Textured Polygons for All!
This is exactly what I was trying to say. How do you want me to implement it?
Re: Textured Polygons for All!
Sorry, but this is not true. Texture has (almost) nothing to do with perspective.Jasoco wrote:The reason OpenGL triangles work is because they're receiving XYZ coordinates.
In addition of screen coordinates, you provide texture coordinates that define how the texture is mapped onto the polygon.
Shameless plug: There is a good chance that there will be support for textured polygons in LÖVE 0.9.
Who is online
Users browsing this forum: Bing [Bot] and 4 guests