|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
an old scene with megapov 0.7 works with :
#declare yVal = hf_height_at(xPos, zPos, theHeightField);
now with megapov 1.0, i get this error message :
#declare yVal = hf_height_at <---- ERROR
Parse Error: Cannot assign uninitialized identifier.
ho ho... megapov 1.0 has killed "hf_height_at" ??
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in news:kur### [at] netplexaussieorg Kurts
wrote:
> ho ho... megapov 1.0 has killed "hf_height_at" ??
>
>
Yes, instead look for "trace" in "6.1.4.6 Vector Functions" of the 3.5
documentation.
Ingo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Kurts wrote:
>
> [...]
>
> ho ho... megapov 1.0 has killed "hf_height_at" ??
No, this function was never intended to be available in megapov 1.0.
Whoever told you that all features of megapov 0.x would be available in
megapov 1.0 was just plain wrong.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <Xns### [at] povrayorg>, ingo <ing### [at] tagpovrayorg> wrote:
> Yes, instead look for "trace" in "6.1.4.6 Vector Functions" of the 3.5
> documentation.
>
> Ingo
okay...
i don't understand why this function was removed so i write this one
that fully replace the old one :
//
-----------------------------------------------------------------------------------------
//
-----------------------------------------------------------------------------------------
#macro hf_height_at(thisX, thisZ, thisHF)
#local normalHF = <0.00, 0.00, 0.00>;
#local testPoint = <thisX, 0.00, thisZ>;
#local vectorHF = <0.00, 1.00, 0.00>;
#local intersectionHF = trace (thisHF, testPoint,vectorHF, normalHF);
intersectionHF.y
#end
//
-----------------------------------------------------------------------------------------
//
-----------------------------------------------------------------------------------------
because my macro has the same name, nothing to change from the source file.
just past this macro and run the script !!!!
have fun
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <kur### [at] netplexaussieorg>,
Kurts <kur### [at] yahoofr> wrote:
> i don't understand why this function was removed so i write this one
> that fully replace the old one :
It wasn't removed. MegaPOV 1.0 is a new patch collection based on POV
3.5, and the new feature set makes some old patches unnecessary. The
hf_height_at() patch was not included because it is quite useless: the
trace() function can do the same thing and far more, hf_height_at() just
isn't needed.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |