Sprite3DReal Userlibrary

Developed or developing a new product in PureBasic? Tell the world about it.
yashaa
User
User
Posts: 19
Joined: Sun Jun 12, 2005 8:19 pm

Post by yashaa »

Hi, great lib! :)
Is it possible to test a collision between a mesh and the mouse pointer?
I whish t know when the user clicks in a 3D object...

p.s.: it it possible to know the format of a s3dr file?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

hi yashaa
Yeahh! for sure the answer is yes for your 2 questions
Lets leave Stefan to continue and accurate this great lib :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
xperience2003
Enthusiast
Enthusiast
Posts: 113
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Post by xperience2003 »

realy great lib , stefan

a little "testro" :

www.games-mafia.de/s3drtro.exe

greetz xp
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

xperience2003 wrote:a little "testro" :
cool! :D

hehe, the torus reminds me of something... ;)
Good programmers don't comment their code. It was hard to write, should be hard to read.
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

Nice effects, but the text sprites all contain garbage for me.... can't read them :(
Paid up PB User !
xperience2003
Enthusiast
Enthusiast
Posts: 113
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Post by xperience2003 »

thx

and now da final version
i hope it runs smooth

www.games-mafia.de/tristar/TRStro-03.exe

51kb pure fun ^^
Blade
Enthusiast
Enthusiast
Posts: 362
Joined: Wed Aug 06, 2003 2:49 pm
Location: Venice - Italy, Japan when possible.
Contact:

Post by Blade »

Nices testros :)
Anyway only the second one has the logo graphics corrupted, and the "parallax" part looked nicer in the first, while looking messed in the second...

As corrupted graphics happened many times before, would be nice to check both sources to track a possible bug in the 3Dsprite routines... IMHO...
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

nice intro :)
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Any chance for a bug fixed version of this library? It still double's textures as mentioned previously.
S.M.
Enthusiast
Enthusiast
Posts: 118
Joined: Sat Apr 24, 2004 1:11 pm
Contact:

Post by S.M. »

@yashaa
yashaa wrote:Hi, great lib!
Thanks :D
yashaa wrote: Is it possible to test a collision between a mesh and the mouse pointer?
I whish t know when the user clicks in a 3D object...
It's not possible at the moment.
But it's the next thing on my To-do-List to include.
yashaa wrote:p.s.: it it possible to know the format of a s3dr file?
Yes, but I plan to change it. So better wait a bit.
Oh and sorry for the late answer. :oops:

@xperience2003
really good intros :D
Nice to see that you're using Sprite3DReal.

@Shannara
Shannara wrote:Any chance for a bug fixed version of this library? It still double's textures as mentioned
previously.
Yes, hopefully, but the problem is, that I just send my vertices and matrices to Direct3D.
Direct3D does all the rendering for me.
I already looked at my ASM-sources, but found no bug.
Maybe it helps if I look again... :wink:



Here is a new version: :D
Link:http://hometown.aol.de/MoebiusStefan/S3DR_1_3.zip

Code: Select all

Changes since v1.3b:
- improved CONV2S3DR.EXE checks now weather the converted file is corrupt 
- improved Sprite3DReal uses now the TnLHal-Device if available
- added optional ScaleX.f,ScaleY.f,ScaleZ.f parameters for the S3DR_DrawMesh()-command
- added ability to use software-rendering
- added S3DR_ScrollTexture(ScrollH.f,ScrollV.f)
- added S3DR_RotateTexture(Angle.f)
damn, I soon need to split my library, because files are limited to 1 MB on my webspace. :cry:
regards
Stefan
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

S.M. wrote:

Code: Select all

Changes since v1.3b:
- improved CONV2S3DR.EXE checks now weather the converted file is corrupt 
- improved Sprite3DReal uses now the TnLHal-Device if available
- added optional ScaleX.f,ScaleY.f,ScaleZ.f parameters for the S3DR_DrawMesh()-command
- added ability to use software-rendering
- added S3DR_ScrollTexture(ScrollH.f,ScrollV.f)
- added S3DR_RotateTexture(Angle.f)
Great!
I need to test a collision between a mesh and the 2D mouse pointer too :)
Still no rotating a mesh over world Y and Z axis (only X axis rotation is well done). Is it a Direct3D problem????
- added ability to use software-rendering
Can someone provide with some example of this?
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

I can provide ftp account and download space (no file size limitations) @ http://www.officialmirrors.com
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Shannara wrote:I can provide ftp account and download space (no file size limitations) @ http://www.officialmirrors.com
:shock: :?:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

:?:
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

Your examples are only working in 1024x768 for me. I have an nvidia 6600, and a simple screen (1280x1024@60hz max). I tried to change refresh rate, but no way. Sad, coz your lib is fine!

Could you add a png loader with alpha layer? :P
Post Reply