So how do I render something in 3D?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

Sorry for posting the 4-view-code.

Here my 2 OpenGL helps (1 older .hlp, 1 from the Platform SDK):
http://home.t-online.de/home/ExpressTra ... L-HELP.zip (1,31MB)

Can i do more for you, god ??
(what about a blowjob?)

cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.

Danilo, What a thoroughly childish, irresponsible and narrowminded response you gave that poor person, but then you seem to think a lot of yourself.

Not only are the comments inappropriate but I see you constantly sabotaging PureBasic in these forums to the point that many potential new users are afraid to ask questions and do not purchase the product.

Why don't you grow up? Or is that asking too much of someone who constantly tells people how much better he knows everything than everythone else??

And those people who think Danilo is funny, take a long hard look at yourselves and see how much damage you are also causing.

Fangles
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by traumatic.

sorry, I just have to reply on that
I prefer to get information from the primary source
so, what do you think opengl.org is?
I'm new to the fact, microsoft invented opengl
childish, irresponsible and narrowminded response
both danilo and me told halo a lot of useful things, danilo even shared code-examples. if halo still isn't satisfied, that's what I'd call childish. Maybe it's a language problem, but IMHO halo asked in a quite arrogant way. I think danilo (as everyone else in this forum) deserves respect. Offering a b***job isn't a too bad idea if someone isn't even able to take the help offered or to use a searchengine.

Just my 2 cents.

BTW: Danilo was the reason why I purchased PureBasic.


Thread closed for me,
traumatic
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Whoooow, it's flamming again. Stop that immediately.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

@halo:
You wanted real 3D with Zoom ??
OK, i wrote this for you today:
http://home.t-online.de/home/ExpressTrack/PureGL.zip

Maybe it helps you to understand some things.
Its my first play with OpenGL, so it shows only
some BASIC things. How to use OpenGL with PureBasic...

Thanks go to VPureBasic for his GLU32f library
and to traumatic for the nice talk on IRC... :)

@Fangbeast:
What can i do for you ??

cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by halo.

Unfortunately, all I get is a black screen. If I can get glut working, I think it will be all I need. All I want is to render some textured polys, and don't even need to use matrices or anything. It's for a new map editor.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by VPureBasic.
If I can get glut working, I think it will be all I need.
Hi Halo,

Please take a look at the topic "glut32dll?" and you will find your answer.

NB. Do not forget that GLUT and OPENGL will help you to display your work, but you should write some procedures to rotate / move / scale an object by itself..., same for move/rotate and strafe cameras...

As I can see some peoples are working on their on 3D engine! Why not writing one as an open source for PureBasic... Me, You, Balrogsoft and others that I do not know... three is a good start for a team!

Roger Beausoleil
Quebec - Canada
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post by dmoc »

I'm trying to run the example code posted by Danilo. I keep getting the infamous "already running" error on the following bit of asm. I have inline asm selected and have tried all possible combo's but with no luck. Any idea?

!EXTERN _PB_Window_Current

Edit: Wouldn't yer know it. Two mins after posting and I find that EXTERN needs to be changed to EXTRN. Solved.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

yes its the EXTERN-Command
early Purebasic uses NASM-Syntax like this, bnut now FASM-Syntax is used.
So you have to write

!extrn _PB_Window_Current
SPAMINATOR NR.1
Post Reply