- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.3
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
TvMesh 3dText
Pages: [
1
]
« previous
next »
Print
Author
Topic: TvMesh 3dText (Read 2498 times)
cybertrickle
Community Member
Posts: 504
TvMesh 3dText
«
on:
December 06, 2002, 03:04:16 PM »
How do you change the size of 3d text in TVMesh
Also, is it possible to change the color of the text?
Thanks
Logged
Evan Duffield
Dymm Inc.
_______________
Project: Journeys End
Status Code: 80%
Status Modeling: 20%
Working on: completion of demo
phether
Customers
Community Member
Posts: 425
TvMesh 3dText
«
Reply #1 on:
December 06, 2002, 07:16:42 PM »
you can resize with:
mesh3DText.ScaleMesh(sngScaleX,sngScaleY,sngScaleZ)
you can change color with:
mesh3DText.SetMaterial(intMaterial)'assuming you have created the material already
Logged
Birds of a phether...
Code with pride not ego!
Rikerdhh
Community Member
Posts: 9
TvMesh 3dText
«
Reply #2 on:
December 06, 2002, 09:45:33 PM »
I am trying to reduce the size of some of my meshes. I am trying to use:
house.ScaleMesh(20,20,20)
however I get an error :
Compile error:
Expected: =
Now I assume that to reduce the size of a mesh I need to use
house.ScaleMesh(.5,.5,.5)
or something to that effect. But that doesn't give me any better results.
I have tried using
house.ScaleMesh(sngLocX,sngLocY,sngLocZ)=.5
but then I get:
Compile error:
Expected: Function or variable
and the
.ScaleMesh(sngLocX,sngLocY,sngLocZ)=
is highlighted.
What have I missed? Am I using this correctly? Is there a better way to resize meshes?
Sorry for so many questions but I am still working my way through all this.
Thanks
Richard
Logged
Zaknafein
Customers
Community Member
Posts: 2940
TvMesh 3dText
«
Reply #3 on:
December 06, 2002, 10:16:13 PM »
Simple VB error..... when you call a void-returning function (A.K.A. a Sub), you don't need to put paranthesis, in fact if you put any, VB calls for an error.
You have to do
Code:
object.ScaleMesh 20, 20, 20
Hope this helped!
Logged
the instruction limit
-
polytron corporation
Rikerdhh
Community Member
Posts: 9
TvMesh 3dText
«
Reply #4 on:
December 06, 2002, 10:50:49 PM »
Yes that worked perfectly. Thank you.
Richard Moore
Logged
phether
Customers
Community Member
Posts: 425
TvMesh 3dText
«
Reply #5 on:
December 08, 2002, 06:44:14 PM »
LOL, Sorry I am using VB.NET and '()' get put around any Method (Sub or Procedure)
Logged
Birds of a phether...
Code with pride not ego!
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