Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


Target met!

Latest Topics

- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- Password resett »
- Darkspace Idea/Opinion Submission Thread »
- Rank Bug maybe? »
- Next patch .... »
- Nobody will remember me...but. »
- 22 years...asking for help from one community to another »
- DS on Ubuntu? »
- Medal Breakpoints »

Development Blog

- Roadmap »
- Hello strangers, it’s been a while... »
- State of DarkSpace Development »
- Potential planetary interdictor changes! »
- The Silent Cartographer »

Combat Kills

Combat kills in last 24 hours:
No kills today... yet.

Upcoming Events

- Weekly DarkSpace
05/04/24 +5.1 Days

Search

Anniversaries

21th - Chubba

Social Media

Why not join us on Discord for a chat, or follow us on Twitter or Facebook for more information and fan updates?

Network

DarkSpace
DarkSpace - Beta
Palestar

[FAQ
Forum Index » » Soap Box » » The Face!
 Author The Face!
Kanman
Grand Admiral
Pitch Black


Joined: August 26, 2005
Posts: 1017
From: Virginia, United States
Posted: 2007-08-23 12:38   
Since I have yet to find out why my polygons were laying over each other, even though they were spacially behind other things, I have moved on to a new project. I wanted something 3D but with nothing behind it to cause trouble. I went with a face.

It has no controls and really doesnt do anything at all, except randomly get surprised or angry at you.

Controls: (Keyboard numbers only, not numberpad numbers)

1 = Points On/Off
2 = Lines On/Off
3 = Polygons On/Off

4 = Invert Red Color Use
5 = Invert Green Color Use
6 = Invert Blue Color Use

LMouse & RMouse = Rotate Face

Hold T = ZOOM in and Adjust position (resets to normal when you release T)

SPEED CONTROL: (For you fast computers out there)

O = Slow program down
P = Speed program up (program starts on fastest setting)
0 = Set to Fastest setting
9 = Set to Slowest setting

Face

FaceLight uses glLighting ratherthan glColor to define brightness. It is my first attempt at trying to understand and use Lighting. I never bothered to finish with the eyelids, eyes or mouth. Simply too many Normal vectors to calculate for such a small surface area shown.

Controls: You can move the light around with a s d w q & e. I have a point showing to denote the light location if it in the field of view. L and R mouse still rotate the world.

FaceLight

[ This Message was edited by: Kanman *FC* on 2007-08-24 17:32 ]
_________________


Drafell
Grand Admiral
Mythica

Joined: May 30, 2003
Posts: 2449
From: United Kingdom
Posted: 2007-08-23 14:16   
If you can add a few more expressions, how about trying to get it to respond with a random face to audio input...?
_________________
It's gone now, no longer here...Yet still I see, and still I fear.rnrn
rnrn
DarkSpace Developer - Retired

  Goto the website of Drafell
Sardaukar
Admiral
Raven Warriors

Joined: October 08, 2002
Posts: 1656
Posted: 2007-08-23 14:26   
Putting it in in polygon mode, no lighting, makes me want to do a barrel roll.
_________________


Kanman
Grand Admiral
Pitch Black


Joined: August 26, 2005
Posts: 1017
From: Virginia, United States
Posted: 2007-08-23 16:30   
Yes, polygon coloring took up a large amount of space in code as well as time. I have come online just now to research how to control lighting and viewports better. Perhaps I can upgrade my face with some new skils.

PS. Updated Link, as I have adjusted minor things, such as making the forehead move with the angry expression.
_________________


Little Pet Slinki
Admiral

Joined: April 16, 2006
Posts: 836
From: United Kingdom, South West.
Posted: 2007-08-23 16:32   
I wanna attack Audio and have it Speaking >.>

Program Expressions or such, Or be able to Move the Points so you could change the face?
_________________


  Goto the website of Little Pet Slinki
Kanman
Grand Admiral
Pitch Black


Joined: August 26, 2005
Posts: 1017
From: Virginia, United States
Posted: 2007-08-23 16:34   
I would LOVE to know how to make there be sound in my programs. With that, I could really blossom and make some good stuff.

EDIT: Found a lovely little webpage that seems to explain OpenGL Lighting quite well. I will see if I can do something with this information.

[ This Message was edited by: Kanman *FC* on 2007-08-23 16:48 ]
_________________


Fattierob
Vice Admiral

Joined: April 25, 2003
Posts: 4059
Posted: 2007-08-23 17:43   
Quote:

On 2007-08-23 14:26, Sardaukar wrote:
Putting it in in polygon mode, no lighting, makes me want to do a barrel roll.




best comment ever.
_________________


Enterprise
Chief Marshal

Joined: May 19, 2002
Posts: 2576
From: Hawthorne, Nevada
Posted: 2007-08-24 04:41   
I like the nice optical illusion when rotating the face, it makes it look like that no matter which way you turn, you cannot see the interior of the face.





-Ent
_________________


Kanman
Grand Admiral
Pitch Black


Joined: August 26, 2005
Posts: 1017
From: Virginia, United States
Posted: 2007-08-24 07:48   
Well, it took me 3 hoursto figure out and another 3 hours of coding, but I figured out Lighting and converted MOST of the face to use that. The Eyes, Mouth and eyelids dont yet have Normal vectors declared though.

It looks Blocky now, like characters from Beast Wars or Reboot. I figured out a way to make it perfectly smooth in appearance while I was sleeping, but it would be rather complex (calculating all Normal vectors a single point would have and then adding and dividing) and too difficult to code without it getting messy.

Ill upload the Light-using version later.
_________________


Kanman
Grand Admiral
Pitch Black


Joined: August 26, 2005
Posts: 1017
From: Virginia, United States
Posted: 2007-08-24 14:34   
added the Light-using version. I think the original looks better, but I have never used Lighting before so that might be why it looks so blocky.
_________________


Light-of-Aurora
Grand Admiral

Joined: December 01, 2003
Posts: 602
From: NJ, USA
Posted: 2007-08-24 15:57   
How can you stand making 3D stuff? I found it way too difficult to learn all of the concepts... Or maybe I'm just too impatient.

GJ with this!
_________________


  Email Light-of-Aurora
Page created in 0.014157 seconds.


Copyright © 2000 - 2024 Palestar Inc. All rights reserved worldwide.
Terms of use - DarkSpace is a Registered Trademark of PALESTAR