It is currently Tue Oct 22, 2019 2:36 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Guidance Needed...
PostPosted: Sat Mar 02, 2019 5:21 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 826
Location: Cuernavaca, Mexico
Guidance Needed...

I'm only starting to dabble in graphics programming because I need to simulate a 'Dice toss' with 5 dice.

Presently I've got a few GIF's that show a single dice 'sort of' moving, but now I need to dig in deeper.

------------------------------------
My choices are...
2D.. 3D.. SVG.. GDI.. GDI+

As well as: OpenGL, GLFW, Ogre 3D, DirectX, Direct2D, Direct3D

but I'm getting bogged down with all the possibilities. :mrgreen:

I know this is a subjective question, but:

What's the best tool for starting computer graphics with PureBasic in the long run?

Thanks in advance.

_________________
- It was too lonely at the top.


Top
 Profile  
Reply with quote  
 Post subject: Re: Guidance Needed...
PostPosted: Sat Mar 02, 2019 6:48 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 31, 2005 11:09 pm
Posts: 3694
Location: Italy
I don't have a real suggestion because it depends on how much time you want to invest in it before getting results and if this is just for your learning pleasure or not.
I can tell you that If you are just starting there are many things you will have to learn just in the "geometrical" realm without even touch programming, and beyond that specific algorithms and math frequently used in this domain.
If you decide to use DirectX or OpenGL you will have to learn so much theoretical stuff to properly glue all together without even seeing a point moving on the screen. This if you want to know what you are doing, copying snippets from the web doesn't require that but it's not ideal in the long run.
I don't know if the steep learning curve is worth it considering what you can still learn by just using PB.
Like for general programming, where what you learn with your first language is still extremely useful even when you move to a second more complex one, what you can learn by just using PB sprites, 2D drawring commands and especially PB Ogre will be useful if/when you decide to move to something else.

You may invest some time in exploring different routes for let's say.. a month.. look into them just to get a feel of the complexity of each one.
And then choose the one you like more.
Because if you like it and you feel attracted to it you will make progresses faster and most importantly you will stick to it.

_________________
[ My little PureBasic review ]


Top
 Profile  
Reply with quote  
 Post subject: Re: Guidance Needed...
PostPosted: Sat Mar 02, 2019 7:25 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 826
Location: Cuernavaca, Mexico
luis wrote:
... what you can learn by just using PB sprites, 2D drawring commands and especially PB Ogre will be useful if/when you decide to move to something else.

Thanks for the detailed response Luis.. it's appreciated.

Your remark above is especially useful. I think I will dig into Orge first, then maybe sprites to see iof I can get something going in that area.

Thanks again. :D

_________________
- It was too lonely at the top.


Top
 Profile  
Reply with quote  
 Post subject: Re: Guidance Needed...
PostPosted: Sun Mar 03, 2019 9:31 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1585
Hi blueb,

See the following; it won't be much use overall, but it may help to narrow your possibilities.
- at the least it may provide a direction for a simple splash screen

Windows Services & Other Stuff
- \Other_Stuff\OpenGLStuff\DiceRoll\DiceRoll.pb

Image

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Mon Mar 04, 2019 12:03 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Guidance Needed...
PostPosted: Sun Mar 03, 2019 2:02 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 826
Location: Cuernavaca, Mexico
I had an older version of your Zip and it didn't include this file.

Rotate.pb is a nice sample that's easy to follow.

Notes:
I was looking for code that added OpenGL as a subsystem.
I never realized that OpenGLGadget() allowed you to use most OpenGL commands directly!
I guess reading the manual (RTFM) is probably a good idea!

Between all the 2D, 3D and OpenGL commands, I won't have a problem keeping busy.

Thanks JHPJHP :mrgreen:

_________________
- It was too lonely at the top.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:
Jump to:  
cron

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye