e3 Rental Property Website

Welcome Guest (Register -  Login)  Active Topics Active Topics Display List of Forum Members Memberlist Search The Forum Search Help Help
 Navigation

 Latest Forum Posts
» Need Bantumi VB Codes
Last Reply By acha22
» School Project -> VB Game
Last Reply By ruger
» Game Idea
Last Reply By ruger
» Careers in Gaming
Last Reply By tarun321
» vb2008 dx9 triangle
Last Reply By bluatigro
» GDI+ Flickering Problem
Last Reply By blupig
» VB2010
Last Reply By blupig
» modding xbox360 games project
Last Reply By blupig
» how to ? vb6 lesson
Last Reply By bluatigro
» Firing Bullet at an angle
Last Reply By bluatigro
» shading in vb2008
Last Reply By bluatigro
» Game-ready model shops
Last Reply By Tinlau
» pa help game of the generals..... 
Last Reply By peejay
» dart game
Last Reply By yik17
» Heeelp me someone
Last Reply By Miranu

Graphic Programming
 Vb games Graphic Programming
Subject Topic: shading in vb2008 Post ReplyPost New Topic
 shading in vb2008
<< Prev Topic | Next Topic >>
bluatigro
Posted: December 10 2009 at 8:58am | IP Logged Quote bluatigro

Newbie
Newbie


Group: Newbie
Joined: December 10 2009
Location: Netherlands
Posts: 4

i have a problem with shading my polygons in vb2008

i use solidbrush for coloring them

public function shade( clr as color , f# )

   dim r% , g% , b%  ''integers oldstyle

    r = clr.r  X  f

    b = clr.g  X  f

    b = clr.b  X  f

    return system.drawing.color.fromargb( 255 , r , g , b )

end function

X    multiply but this keyboard is wrong again

so i cant on the moment use the tags

when i use this i get black polygon not shaded ones

if 255 is 0 to

in vb5 this shading works but no polygons there

 
Online Status: Offline
View bluatigro's Profile Search for other posts by bluatigro Back to Top
 
1 User(s) are browsing this topic, 1 Guest(s) and 0 Member(s)
0 Members:
<< Prev Topic Graphic Programming Next Topic >>

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum


[ Users browsing page: none ]

Terms and Conditions | Privacy | Contact Us

Copyright © 2010 VbGames. All rights reserved.

This site is best viewed at 1024x768 screen resolution.
Back to Top

Designed by Micronet Technologies