Author Topic: [axe] GLib model editor (WIP)  (Read 6334 times)

0 Members and 1 Guest are viewing this topic.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: [axe] GLib model editor (WIP)
« Reply #15 on: December 05, 2013, 08:35:03 pm »
graying out the cursor is done in the grayscale version, so do you want a combination of the two where the vertices stay black but the cursor is gray?

When I add line drawing or selecting multiple vertices, would you prefer the points to stay black and the selection being indicated by multiple gray cursors? Or add gray cursors to the selected points, maybe with the real cursor being black, or do you prefer to have it all in b&w?

Yes, I'd say vertices stay black but cursor is gray, and then in multiple vertex selection I'd say either multiple gray cursors, or do the opposite and have one of them be gray point on a black cursor. It's just the contrast so that you can see the actual position of the point without the cursor getting in the way. It's totally functional the other way as well, it's mostly an issue with the further points where the length of the cursor lines are shorter.

It definitely looks great there in that Arwing video. Having everything in the model be black makes it a lot easier to see what you're doing and what you're working with.

I guess the next step is opaque polygons :O
« Last Edit: December 05, 2013, 08:37:52 pm by ZippyDee »
There's something about Tuesday...


Pushpins 'n' stuff...


Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: [axe] GLib model editor (WIP)
« Reply #16 on: December 06, 2013, 01:06:33 pm »
indeed, this is pretty awesome. Cursor is good like this  :P

I guess the next step is opaque polygons :O

Ouch it's true I need to finish this part  XD
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: [axe] GLib model editor (WIP)
« Reply #17 on: December 06, 2013, 01:13:22 pm »
Heh well I guess the first step is triangulation, THEN opaque triangles.

Do you have any ideas on how you're going to specify triangles? I feel like the user would manually select a triangle by choosing the three vertices, and THAT's when the model should be gray. Points and edges would turn black once selected. Maybe you can use like a gray-black flashing cursor or something for that drawing so that it contrasts with both the gray and the black models.

The fact is that you'll almost definitely want user-selected triangles, rather than having to write any triangulation routines for arbitrary polygon selections (which would be a total bitch to write). You COULD write some triangulation routines, but I wouldn't recommend it.
There's something about Tuesday...


Pushpins 'n' stuff...


Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: [axe] GLib model editor (WIP)
« Reply #18 on: December 06, 2013, 01:23:27 pm »
GLib should normaly be able to handle triangle / quadrilateral thing. However, for quadri the point need to be enter clockwise or anti-clockwise  :P Guess triangulation should'nt be usefull. There is some sort of sphere too.
« Last Edit: December 06, 2013, 01:24:05 pm by TheMachine02 »
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: [axe] GLib model editor (WIP)
« Reply #19 on: December 06, 2013, 06:28:45 pm »
Darn, that is impressive O.O. I am glad this also runs pretty fast.

Offline TheMachine02

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 452
  • Rating: +105/-0
  • me = EF99+F41A
    • View Profile
Re: [axe] GLib model editor (WIP)
« Reply #20 on: December 07, 2013, 06:30:45 am »
I am glad this also runs pretty fast.

me too
* TheMachine02 run
The speed drop will be however significant with filled polygon  :P  I will soon release the poly lib as well as some new tuto, but there will be no backface culling / nor texture for the moment.
AXE/asm programmer - unleash the power of z80 //C++//C

epic 3D things http://www.ntu.edu.sg/home/ehchua/programming/opengl/CG_BasicsTheory.html