forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pie chart

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2815
Location: South Pole, Antarctica

PostPosted: Fri May 20, 2011 10:01 pm    Post subject: Pie chart Reply with quote

Some time ago i posted OpenGL pie chart example.

http://forums.silverfrost.com/viewtopic.php?t=1072

OpenGL is amazing and simple tool, it makes your code data presentation so much better. I am not an expert in OpenGL at all, i learned it as everything else just by the examples made by this compiler developers. The light sources and specular reflections would be great to add there -- they add final touch, charm and glamor of pro artists. And automatic and manual text placement. They are formally there but do not work like i'd like them ideally look. Together with the major adjustment tools (many others are hidden in Menu) the pie chart look like this



Hopefully here are someone who can bring this to the new level. I'd like to see it like this one.

Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2815
Location: South Pole, Antarctica

PostPosted: Thu Aug 09, 2012 3:39 am    Post subject: Reply with quote

Here is another example of shadows and reflections which make image look lifelike. I tried everything and gave up to achieve that. Would like to know how.

Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Thu Aug 09, 2012 11:22 am    Post subject: Reply with quote

Dan,

The book "High resolution computer graphics using FORTRAN 77" by Ian O. Angell and Gareth Griffith, ISBN 0-333-40399-1 Macmillan (1987) covers this sort of lighting, but you would need to translate the graphics primitives into OpenGL or Windows graphics, as in the book they are of the sort current in 1987.

In very primitive terms you need to light top and left, and darken right and bottom (or if the lighting is top right, swap the sides).

I don't use my copy of the book, and am happy to post it to you .... if you want it, send me a postal address via PM.

Eddie

[Edit] ... and I do have a general idea which part of the world it would go to! E
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group