Results 1 to 10 of 10

Thread: I have a small question

  1. #1

    I have a small question

    I know how to edit the Lscript files but how can you edit the "p" plugins ?

    and does any of you know which P plugin is "soften reflection" (in the processing tab, image filter)

    thanks

  2. #2
    .p plugins are written in C and compiled for a PC (or mac). You can edit them but they are unreadable (binary machine code == unreadable by most human beings).

    I hear that they run about 10 times faster than LScript - and someday I'm gonna write me one.

    Somewhere, over the rainbow....

  3. #3
    C ? doh !
    just wondering, what software do you need to create and compile C code ?

  4. #4
    Super Member Silkrooster's Avatar
    Join Date
    Mar 2004
    Location
    Northern New York
    Posts
    5,254
    I beleive any C compiler will work, such as Microsoft, or Borland. I am not sure on the derivitives though, like C##, C+, etc.
    Both Borland and Microsoft have hobby compilers besides their pro versions.
    Silk
    Silkrooster.com - temporarily offline due to updating...
    Spinquad Forum - Closed Sorry...
    lightwave-resources.pdf - - temporarily offline due to updating...

  5. #5
    Worms no more! Free fun! Dodgy's Avatar
    Join Date
    Feb 2003
    Location
    Sydney
    Posts
    8,276
    One thing I've started looking at since I'm going to go into c, is the Bloodshed C++ developer environment. It's open source, free and is looking really good at the moment. Check it out:

    http://www.bloodshed.net/dev/devcpp.html
    Push the software, don't let it push YOU!
    My own plugins and work:www.mikegreen.name
    LaptopSetup:corei7 2.4GHz nvidia GT 650M 8Gig win8 64
    WorkSetup:core i7 3.4Ghz nvidia Quadro 2000 12Gig Ram Win7

  6. #6
    thanks dodgy for the link,
    I already programmed some tiny tiny little program with delpi from borland with a friend..
    I heard C is a lot harder... it seems hard to start in C without any class..

  7. #7
    Worms no more! Free fun! Dodgy's Avatar
    Join Date
    Feb 2003
    Location
    Sydney
    Posts
    8,276
    Lightwave plugins are just windows .dlls with a .p extension

    If you compare the c plugins in the sdk with lscripts, they're fairly similar, except c makes things more explicit. I've managed to get a c plugin compiling and running, but have yet to write my own from scratch
    Push the software, don't let it push YOU!
    My own plugins and work:www.mikegreen.name
    LaptopSetup:corei7 2.4GHz nvidia GT 650M 8Gig win8 64
    WorkSetup:core i7 3.4Ghz nvidia Quadro 2000 12Gig Ram Win7

  8. #8
    Code Muppet evenflcw's Avatar
    Join Date
    Feb 2003
    Location
    Stockholm, Sweden
    Posts
    2,642
    I'm trying to move over from lscript to C aswell, looking to mainly be able to code my own Modeler tools. I've read up abit on C, read some parts in the SDK, looked through some source code to try and understand how every line contributes. I'm not there yet and just like Dodgy I've still to write my own working(!) plugin. Compared to lscript, the SDK sure is confusing if you've had no previous programming experience (except for lscript), especially so with MeshEditTool plugins (Modeler Tools) - values and pointers are jumping all over the place!

    Lscript was easy to get into, thanks to good docs (imho) and a wealth of examples to learn from. SDK has no good docs (for novice programmers) and only a handfull of examples to learn from. The lack of examples (especially really simple ones) is imo the biggest disadvantage.


    Intro to C online:
    http://www.eskimo.com/~scs/cclass/cclass.html

    This tutorial on how to set up a custom LW project in DevC++ is invaluable!
    http://lynx.aspect-design.de/tutoria...ile_plugin.htm
    Last edited by evenflcw; 03-11-2005 at 04:18 PM.

  9. #9
    Super Member Silkrooster's Avatar
    Join Date
    Mar 2004
    Location
    Northern New York
    Posts
    5,254
    After a while I would like to get into programming with C. I read a book several years ago on the subject. But, that info is fading away.
    I agree, I think there should be more examples for both C and Lscript using useful code, that means something. More or less to get you excited about your creation.
    Silk
    Silkrooster.com - temporarily offline due to updating...
    Spinquad Forum - Closed Sorry...
    lightwave-resources.pdf - - temporarily offline due to updating...

  10. #10
    Valiant NewTeKnight Matt's Avatar
    Join Date
    Feb 2003
    Location
    San Antonio, Texas, USA
    Posts
    13,055
    Silkrooster, I'm in the same boat, I used to be able to program C a loooong time ago, now I can't remeber a thing about it!

    I'd love to write my own .p plugins, but I think I'll try and improve my lscript "skills" first!
    UI / UX Designer @ NewTek
    __________________________________________________
    www.pixsim.co.uk : LightWave Video Tutorials & Tools


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
  •