- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
>>
Bugs
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
SetColor RGB of a mesh
Pages: [
1
]
« previous
next »
Print
Author
Topic: SetColor RGB of a mesh (Read 855 times)
Canning
Community Member
Posts: 592
SetColor RGB of a mesh
«
on:
December 04, 2010, 12:35:05 AM »
When typing in the following code
Code:
RGB(255, 0, 0)
, the hint that pops up says that red is first, then green then blue. However, blue is actually first and red is last.
Logged
I am using 2010 VB.NET and TV 6.5 with Windows 7
SylvainTV
Administrator
Community Member
Posts: 4946
Re: SetColor RGB of a mesh
«
Reply #1 on:
January 04, 2011, 06:57:54 AM »
Don't use RGB() for that, this is a VB method.
Use TVGlobals.RGBA() to pass colors to the engine
Logged
Regards
Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com
TV3D IRC at
http://chat.truevision3d.com
or on server irc.truevision3d.com #Truevision3D. Come talk with us !
jviper
Community Member
Posts: 2130
Discipline in training
Re: SetColor RGB of a mesh
«
Reply #2 on:
January 05, 2011, 04:42:52 PM »
... with values between 0.0 and 1.0. Pass 1.0 to the A component for full opeque.
Logged
JAbstract.....Don't just imagine, make it happen!
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Game Development
-----------------------------
Projects
-----------------------------
=> In-Development
=> Showcase
=> Recruitment
=> Announcements
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.5
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
-----------------------------
TV3D SDK
-----------------------------
===> Shader Development
===> Content Pipeline
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks