[project1dev] Project1 - SVN Update 738

  • From: dhapache@xxxxxxxxxxxxxxxxxxx (Apache User)
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Fri, 7 May 2010 08:24:38 -0700 (PDT)

User:atrix256

Message: Decal code is in now wooo...

Now we can apply decals to things from script to do the spell casting pointer, 
as well as scorch marks on the terrain and I think this might be a good way to 
paint roads onto the world.

New script commands:

Decal_Create - create a new decal
Decal_Destroy - kill an existing decal
Decal_SetColor - set the decal color (can make it fade out over time, or color 
tint one, or whatever you want)
Decal_SetDims - set the size of a decal as well as how high or how deep to cast 
the decal onto models
Decal_SetPos - sets the position of the decal
Input_GetProjectedMousePosition - Use this to get the 3d point in space the 
mouse is pointing at

<Files Changed>
U   ActRaiser/ARRelease.exe
U   ActRaiser/Art/Models/Maps/Level1/land.ms3d
A   ActRaiser/Art/Models/Maps/Level1/land2.ms3d
U   ActRaiser/Scripts/GameOverworld/Player.lua
A   ActRaiser/Shaders/Decal.fx
U   ActRaiser/Shaders/OverworldLand.fx
U   Code/ARRelease.exe
U   Code/AR_AnimModels.cpp
U   Code/AR_AnimModels.h
U   Code/AR_LuaFuncs.cpp
U   Code/AR_OctTree.cpp
U   Code/AR_OctTree.h
U   Code/AR_Profiler.h
U   Code/Base.vcproj
A   Code/Docs/Script Help/Decal_Create.html
A   Code/Docs/Script Help/Decal_Destroy.html
A   Code/Docs/Script Help/Decal_SetColor.html
A   Code/Docs/Script Help/Decal_SetDims.html
A   Code/Docs/Script Help/Decal_SetPos.html
A   Code/Docs/Script Help/Input_GetProjectedMousePosition.html
U   Code/Docs/Script Help/toc.html
U   Code/Docs/Website/050301a.jpg
U   Code/Docs/Website/050301b.jpg
A   Code/Docs/Website/050410.jpg
A   Code/Docs/Website/050710a.jpg
A   Code/Docs/Website/050710b.jpg
U   Code/Docs/Website/index.php
U   Code/ShaderManager.cpp
U   Code/ShaderManager.h
U   PirateDice/ARRelease.exe
A   PirateDice/Shaders/Decal.fx


==============================
Project 1 Dev mailing list
to unsubscribe, please send an email request to demofox@xxxxxxxxxxx
Project 1 website: http://project1.demofox.org
Project 1 SVN repository: http://pyotek.com/project1

Other related posts: