BASIC

Author Topic: 3D with GLBasic - movie  (Read 25091 times)

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3338
  • Integrated Brain
    • View Profile
Re: 3D with GLBasic - movie
« Reply #30 on: 2011-Oct-11 »
HI erico, about the ligth, you have in mind this:

If you have the target in the 0,0,0 the ligth always lock to this point, if you want make circles over and object you have to use cos and sin, in x and z or x and y, depends how export your software to GLbasic, in 3d Max not it´s equal than AC3D or Blender, anyone have her how world coordinates system, or mode to make it internally.

Yes if you put the lights degree cone to 360, you have a spot light, in principle affects all the scene, because light "simple" don´t have range and don´t have intensity too.

ok, if you want develop only for PC, use a library made by Gernnot, it´s in some part of 3d thread, have a lot of more commands, and it´s very complete, but in mobile devices I think don´t works well, I don´t try.

If you permet I have a little trick, so Glbasic 3D in devices mobiles don´t have too much coomands, I try the make ready the model always in the editor, always I export a backed texture, whit lights, normal maps, and of course we don´t have a parameter for shinnes specular  :'(, but I tri to make things in 3D, and the quality it´s good, but we have to put more effort in the 3D suite.

Warning, if you make a backing texture, if I don´t rebenmer bad, you use LW, be careful whit the channel map of the texture, in Max in example, I have to put the channel inverse, when it´s 3 in material, in backed it´s 1.

Another point, and this it´s only for advice, for me the best tool for texturing, in low poly I think it´s a most important part, I use Bodypaint,this it´s a module of Cinema 4D, like photoshop but you paint over the model, or un the unwrapped mesh, and another Sculping tool very very good, and not too much expensive, professional cost about 300$ and  educational cost about 99$, it´s Coat 3D, it´s like Zbrush, but too much simple, and make thing awesome, and well it´s another genius like Gernnot, 3D coat it´s male by only one Ukranian men, well mother Russia always was the better in Maths...  :nw: :nw:

PS: I think we can use this thread for sharin impresions about 3D in Glbasic, not too much people use 3D, and can sharing tips and tricks, waht do you think?.

Iván J.


Offline aroldo

  • Mr. Polyvector
  • ***
  • Posts: 143
    • View Profile
    • APD Consulting, Inc.
Re: 3D with GLBasic - movie
« Reply #31 on: 2011-Oct-12 »
Erico,

Thanks again, I tested with you texture and ddd fiels and it worked very well.

I need to study more.
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2

MrTAToad

  • Guest
Re: 3D with GLBasic - movie
« Reply #32 on: 2011-Oct-12 »
It takes a little while to get the hang of 3D, but the results are very nice.

I'm re-imaging my "BallZ" game and its now almost all in 3D.  The hardest part will be deciding on the lighting...



[attachment deleted by admin]

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4110
    • View Profile
    • Portfolio
Re: 3D with GLBasic - movie
« Reply #33 on: 2011-Oct-12 »
heck, I can almost see speedball players running around that screenshot of yours... :O
Excellent work Tatoad!

MrTAToad

  • Guest
Re: 3D with GLBasic - movie
« Reply #34 on: 2011-Oct-12 »
Thanks :)

Offline aroldo

  • Mr. Polyvector
  • ***
  • Posts: 143
    • View Profile
    • APD Consulting, Inc.
Re: 3D with GLBasic - movie
« Reply #35 on: 2011-Oct-13 »
MrTAToad,

Which 3D tools are you using? AC3D, Blender?
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2

MrTAToad

  • Guest
Re: 3D with GLBasic - movie
« Reply #36 on: 2011-Oct-13 »
AC3D

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3338
  • Integrated Brain
    • View Profile
Re: 3D with GLBasic - movie
« Reply #37 on: 2011-Oct-15 »
Very nice MrTatoad, a question, it´s very difficult, implement the specular shines for 3D Geomtries?¿, I think this it´s a important factor, but I don´t know if need too much CPU in devices mobiles.

About the manner of lighting, the better way it´s a Lightmap or in default a Complete Map.

A personal suggestion, if the game it´s all in 3D, becuase don´t put a little more donw the camera, I think can be more nice than view it from the top, it´s only a personal opinion.
« Last Edit: 2011-Oct-15 by mentalthink »

MrTAToad

  • Guest
Re: 3D with GLBasic - movie
« Reply #38 on: 2011-Oct-15 »
You can modify the specular lights if you call the OpenGL functions, but they may not be available