This site is no longer active and is available for archival purposes only. Registration and login is disabled.

DrawRotated() clipping...


DrawRotated() clipping...

Postby Vander » Aug 30, 2002 @ 5:38am

It would be great if the DrawRotated() method included clipping. I tried the Polygon() and it didn't work for me (also, it doesn't clip anyways).

Is it planned at all? What if I change the source to include clipping?

Thanks.
Vander
pm Member
 
Posts: 21
Joined: May 21, 2002 @ 11:03am
Location: Brazil


Postby Phantom » Aug 30, 2002 @ 9:14am

It isn't planned,because the drawrotated thing is more or less an ad-hoc piece of code. If you add code, send it over, and we'll at it to the next release.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby Vander » Sep 2, 2002 @ 5:58am

Vander
pm Member
 
Posts: 21
Joined: May 21, 2002 @ 11:03am
Location: Brazil


DrawPolygon

Postby Jaap Suter » Sep 2, 2002 @ 4:46pm

The new DrawPolygon does clipping. It's not released yet, but if you contact me directly (icq 19637432, or email j.suter@student.utwente.nl) I can send the updated version to you. Or you can await the next engine release.

Cheers,

Jape
Jaap Suter
 


Postby pib » Sep 3, 2002 @ 5:16pm

I know, it's only rock'n roll
but I like it
User avatar
pib
pm Member
 
Posts: 7
Joined: May 7, 2002 @ 4:35pm
Location: GMT +1:00


Postby Vander » Sep 4, 2002 @ 6:43am

Polygon() works with power of 2 bitmaps (actually, I'm using 32x64 8bit). You have to set carefully parameters like vertex and uv coordinates to get it working, but it works and is really smooth.
Vander
pm Member
 
Posts: 21
Joined: May 21, 2002 @ 11:03am
Location: Brazil


Postby D » Sep 4, 2002 @ 6:55am

wow, now all we need are vector transformations and matrices using fixed-point...
D
pm Member
 
Posts: 55
Joined: May 9, 2002 @ 9:55am


Postby Lewil » Sep 4, 2002 @ 4:50pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Phantom » Sep 4, 2002 @ 5:31pm

Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby pib » Sep 4, 2002 @ 5:41pm

I know, it's only rock'n roll
but I like it
User avatar
pib
pm Member
 
Posts: 7
Joined: May 7, 2002 @ 4:35pm
Location: GMT +1:00


Postby Lewil » Sep 4, 2002 @ 6:11pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby Phantom » Sep 4, 2002 @ 6:32pm

Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Postby Lewil » Sep 4, 2002 @ 6:52pm

User avatar
Lewil
pm Member
 
Posts: 108
Joined: Apr 25, 2002 @ 1:39pm


Postby pib » Sep 4, 2002 @ 6:55pm

I know, it's only rock'n roll
but I like it
User avatar
pib
pm Member
 
Posts: 7
Joined: May 7, 2002 @ 4:35pm
Location: GMT +1:00


Postby Vander » Sep 5, 2002 @ 5:18am

Vander
pm Member
 
Posts: 21
Joined: May 21, 2002 @ 11:03am
Location: Brazil


Next

Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum