What shape are you trying to create?
Basically, is it possible to have more than 1 holo clips per holo? I know that barely anyone uses holoclip, but I'm finding the use of it REALLY useful (B2, and my currect project)
If its not possible then I will have to find a way around, but if it IS possible, Id be very happy (I know its not possible at the moment with the current E2 functions). The wiki of SetRenderClipPlane is blanc, so I dint find out if its possible to have more than one of them.
Any help appreciated.
New server IP: 89.238.160.17:27018
Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Unsmart: Solece, I totally did your mom yesterday
Solece: Who hasnt
Divran: there are more retarded people than there are clever people in this world
What shape are you trying to create?
.siht daer ot gniyrt emit detsaw ev'uoY
Its not a shape really, hard to explain
New server IP: 89.238.160.17:27018
Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Unsmart: Solece, I totally did your mom yesterday
Solece: Who hasnt
Divran: there are more retarded people than there are clever people in this world
Draw it
Thats still not the point. Im asking if its possible for multiple clips. Just to suit your hungry needs, lets say, I need these shapes: None of them can be done using 1 clip. Still, i was asking if its possible to have multiple clips. So its a question for the lua guys.
To the pictures: the 1st picture is a dome (dome2), and I want to make a window support pylon out of it (tl;dr: frame)
2nd picture is a cube or a plane, with sides chipped off, there im 9001% sure you cant do that with a single holoclip.
Last edited by Unsmart; 02-27-2010 at 10:23 AM.
New server IP: 89.238.160.17:27018
Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Unsmart: Solece, I totally did your mom yesterday
Solece: Who hasnt
Divran: there are more retarded people than there are clever people in this world
Still noone? I kinda solved it (but looks ugly), but it was hard as hell, but still, I need to know if its possible in Lua, as it would totally easy my problems.
New server IP: 89.238.160.17:27018
Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Unsmart: Solece, I totally did your mom yesterday
Solece: Who hasnt
Divran: there are more retarded people than there are clever people in this world
I took a look at the library holoClip uses, and I believe it is possible. It would not too useful with normal hologram entities as far as I can tell (except for a 1/4 torus), but could work wonders with holoModelAny.
I was trying to make a CSS Gun-splicing E2 where you could take the scope of a sniper rifle and put it on an AK, ect. But often parts further down the weapon would get in the way, ex. the iron sights.
New server IP: 89.238.160.17:27018
Hologram contraptions 1 Holo contraptions 2 EGP stuff Holo minigun Holo javelin rocket launcher
Unsmart: I doubt the intelligence of some people.
Drunkie: Nobody could have said that any better than Unsmart.
Unsmart: Solece, I totally did your mom yesterday
Solece: Who hasnt
Divran: there are more retarded people than there are clever people in this world
Extended rendering library documentation:
Extended Rendering Library - GMod Wiki
The hologram entity would have to have a Draw function but it shouldn't be too much of a problem.
Basically, the clip planes are a stack. You push each one you want into the stack, render the model, then remove them.
Looking at the expression2 code, I see ugly umsg's. Would it be bad to convert it to datastreams? It would be easier for me to implement. You should only have to set the clip once.
Last edited by Colonel Thirty Two; 03-08-2010 at 08:51 PM.
Bookmarks