https://linen.dev logo
Join Discord
Powered by
# lime
  • r

    rich-horse-51130

    05/10/2023, 6:52 PM
    but it still kinda sucks
  • a

    able-action-74275

    05/10/2023, 6:52 PM
    aux slots do work as well
  • r

    rich-horse-51130

    05/10/2023, 6:52 PM
    they do yes
  • a

    able-action-74275

    05/10/2023, 6:53 PM
    like I say, I'll read what you wrote and address it properly
  • h

    hallowed-ocean-84954

    05/10/2023, 6:53 PM
    Yes divide it by its length. He uses the glsl normalize function in the shaders. I'm pretty sure he mentioned it somewhere
  • r

    rich-horse-51130

    05/10/2023, 6:53 PM
    but well you dont attach the filter directly to the aux, you attach it to the source send
  • r

    rich-horse-51130

    05/10/2023, 6:53 PM
    ighty
  • h

    hallowed-ocean-84954

    05/10/2023, 6:54 PM
    Normal vectors are different from normalized vectors
  • t

    tall-teacher-57409

    05/10/2023, 6:54 PM
    alright 👌 I'll deffo pause and study some linear algebra tonight
  • t

    tall-teacher-57409

    05/10/2023, 6:55 PM
    I know he gave a good intro to them in his trans section but still not enough
  • b

    bulky-insurance-39338

    05/10/2023, 6:55 PM
    take care , into glsl the matrix-ops sometimes reverted (not like into math i mean)
  • h

    hallowed-ocean-84954

    05/10/2023, 6:55 PM
    Actually here he seems to be using normal in the sense of normalized so that's a bit confusing but ok
  • g

    gray-vase-27987

    05/10/2023, 7:11 PM
    id figured it out
  • g

    gray-vase-27987

    05/10/2023, 7:11 PM
    though i dont remember how
  • g

    gray-vase-27987

    05/10/2023, 7:11 PM
    id have to go get the code i wrote
  • g

    gray-vase-27987

    05/10/2023, 7:11 PM
    it was like one step i had to do different
  • r

    rich-horse-51130

    05/10/2023, 7:13 PM
    this is my current implementation, didnt test it yet since im building an entire handler lib

    https://cdn.discordapp.com/attachments/769686258049351722/1105935653730005152/f24b1db582705a88301a5640b7709919.pngâ–¾

    https://cdn.discordapp.com/attachments/769686258049351722/1105935654019407912/c194392f58c6bda68e53d16aa7f37b09.pngâ–¾

  • r

    rich-horse-51130

    05/10/2023, 7:13 PM
    for now i just set the filter param thingy to AL.FILTER_NULL
  • r

    rich-horse-51130

    05/10/2023, 7:14 PM
    (ALFilterType.FILTER_NULL is practically just AL.FILTER_NULL, i just sorted all the parameter stuff into seperate enums so you have easier autocomplete and a cleaner overview on what is used for what)
  • r

    rich-horse-51130

    05/10/2023, 7:17 PM
    (SourceHandle for reference aswell)

    https://cdn.discordapp.com/attachments/769686258049351722/1105936608370368572/382c783904cbe9a05ce0467d2182d2f6.pngâ–¾

  • a

    able-action-74275

    05/10/2023, 7:20 PM
    definitely something wonky here
  • a

    able-action-74275

    05/10/2023, 7:35 PM
    so aux sends for effects are all gravy
  • a

    able-action-74275

    05/10/2023, 7:36 PM
    but I think a filter is not an effect
  • a

    able-action-74275

    05/10/2023, 7:36 PM
    however you can send filter to aux for further processing by an effect
  • a

    able-action-74275

    05/10/2023, 7:36 PM
    from the manual > Filter objects can be used in two different ways; to filter an OpenAL Source, or to filter the send > from an OpenAL Source to an Auxiliary Effect Slot
  • a

    able-action-74275

    05/10/2023, 7:40 PM
    > When a filter object is attached to a Source as a Direct Filter (using alSourcei with the property AL_DIRECT_FILTER), > filtering is applied to the direct (dry) signal of the Source only. > When a filter object is attached to a Source as an Auxiliary Send Filter (using alSource3i with the property AL_AUXILIARY_SEND_FILTER), > filtering is applied to the signal being sent to the Auxiliary Effect Slot
  • a

    able-action-74275

    05/10/2023, 7:42 PM
    however reading back your info again, apparently sending filter to aux is not working - I gotta test it give me some minutes
  • a

    able-action-74275

    05/10/2023, 7:43 PM
    I was quite sure I did this, but starting to doubt
  • t

    tall-solstice-92437

    05/10/2023, 7:46 PM
    Normal vectors are just unit vectors, meaning they have a magnitude of 1. Normal*ized* vectors are just taking a non-unit vector and giving it a magnitude of 1, making it a unit vector... At least that would be my understanding
  • h

    hallowed-ocean-84954

    05/10/2023, 7:47 PM
    I was referring to normals as in perpendicular to the surface.
1...114115116...138Latest