+ Reply to Thread
Results 1 to 9 of 9

Thread: [E2][HOLO]Multiple clip per holo

  1. #1
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default [E2][HOLO]Multiple clip per holo

    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

  2. #2
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: [E2][HOLO]Multiple clip per holo

    What shape are you trying to create?
    .siht daer ot gniyrt emit detsaw ev'uoY

  3. #3
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: [E2][HOLO]Multiple clip per holo

    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

  4. #4
    Wirererer bobthe2lol's Avatar
    Join Date
    Aug 2007
    Location
    US,NY
    Posts
    309

    Default Re: [E2][HOLO]Multiple clip per holo

    Draw it

  5. #5
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: [E2][HOLO]Multiple clip per holo

    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.
    Attached Thumbnails Attached Thumbnails [E2][HOLO]Multiple clip per holo-.jpg   [E2][HOLO]Multiple clip per holo-.jpg  
    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

  6. #6
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: [E2][HOLO]Multiple clip per holo

    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

  7. #7
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2][HOLO]Multiple clip per holo

    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.

  8. #8
    Wire Sofaking Unsmart's Avatar
    Join Date
    Dec 2008
    Location
    Belgium OR BANland
    Posts
    1,965

    Default Re: [E2][HOLO]Multiple clip per holo

    Quote Originally Posted by initrd.gz View Post
    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.
    yeah, exactly thats the case. (thou, it still has a use with normal holo models). So you say that its probably possible? Cool!
    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

  9. #9
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2][HOLO]Multiple clip per holo

    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.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots