sidebar features
sidebar content

Go Back   Blender Artists Forums > Artwork > Blender Tests

Reply
 
Thread Tools
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
I finally decided to update my old chromakey-hsv plugin just to give bob's nodes some healthy competition and got frustrated because I just couldn't get it to work as well as I wanted it to

After I finished pounding the keyboard with my forehead for a while, I noticed that I had deleted large portions of the code in the editor and added other chunks of seemingly random text. I decided to compile it anyway and surprise! it not only compiled but it worked decent too

So here are some images from simple tests of my new greenscreen plugin on CoreyAvitar's greenscreen video..
Click image for larger version

Name:	gsnorm.png
Views:	270
Size:	78.2 KB
ID:	16446Click image for larger version

Name:	gskey1.png
Views:	240
Size:	25.3 KB
ID:	16447
Click image for larger version

Name:	gskey2.png
Views:	210
Size:	24.9 KB
ID:	16448 Click image for larger version

Name:	gstest1.png
Views:	256
Size:	25.7 KB
ID:	16444
Click image for larger version

Name:	gstest1.jpg
Views:	513
Size:	32.9 KB
ID:	16445 hardwater.mp4 (2.1 meg)

The greenscreen page is under construction will include a full tutorial soon...
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#1   Old 16-Feb-07, 02:27   
Reply With Quote


PapaSmurf's Avatar
PapaSmurf PapaSmurf is offline
Member
 
Join Date: Sep 2004
Location: Southeast USA
Posts: 8,746
yea! keep bangin that computer pappy!
............................................
i<3 Blender, and vandalizing the wiki. My creative website, my public website (in progress), my book, my complete learning Blender video series. and my Vimeo compositing video series.
#2   Old 16-Feb-07, 03:18   
Reply With Quote
pxegeek pxegeek is offline
Member
 
Join Date: Oct 2005
Posts: 23
Seamless! Any chance of a Windows dll?

Thanks
#3   Old 16-Feb-07, 03:25   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
Quote:
Originally Posted by pxegeek
Any chance of a Windows dll?
I asked at blendercoders and blenderechat with no response...
Hopefully one of the windows(or mac) users out there who:
  • actually knows how to compile a plugin (very few)
  • has enough interest in this plugin (even fewer)
  • is willing to waste the time ( fewer yet )
will send me a win or mac version so I can post it on the page ...

usually, someone is nice enough to post a .dll so yeah, there is a good chance you will see one...and I am not sure if it's just hard to compile for the mac or no mac users like my plugins because I can only remember 1 time I got a mac .so( it was an early version of chromakey-hsv BTW) for any of my plugins.
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#4   Old 16-Feb-07, 04:18   
Reply With Quote
CoreyAvitar's Avatar
CoreyAvitar CoreyAvitar is offline
Member
 
Join Date: Feb 2005
Posts: 407
ho hoo! lookin' really good! I'm proud to be part of such a cool thing. (I'm the crouching guy )
............................................
Absense makes the heart grow fungus!
#5   Old 16-Feb-07, 23:55   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
Quote:
Originally Posted by CoreyAvitar
I'm proud to be part of such a cool thing.
you are more a part of this than you know...Your vid is the one that was frustraiting me the most as I was working the old chromakey plugin update...

BTW: thank you very much for putting that vid out there for people like me to play with
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#6   Old 17-Feb-07, 01:23   
Reply With Quote
sarah's Avatar
sarah sarah is offline
Member
 
Join Date: Jan 2007
Location: Southern California
Posts: 279
I'm working on a few plugins right now and since I work primarily on the Mac, I could probably compile a Mac version for you.
#7   Old 17-Feb-07, 01:46   
Reply With Quote
pxegeek pxegeek is offline
Member
 
Join Date: Oct 2005
Posts: 23
Well, I had a go at compiling it...

C:\Program Files\Blender Foundation\Blender\plugins\sequence\greenscreen>.. \lcc\
bin\lcc -I"c:\Program Files\Blender Foundation\Blender\plugins\include" greenscr
een.c

C:\Program Files\Blender Foundation\Blender\plugins\sequence\greenscreen>.. \lcc\
bin\lcclnk -DLL -nounderscores greenscreen.obj "c:\Program Files\Blender Foundat
ion\Blender\plugins\include\seq.def"
greenscreen.obj .text: undefined reference to '__imp__mallocN'
greenscreen.obj .text: undefined reference to '__imp__freeN'

The resulting dll file crashed blender when I tried to use it.

I'll bash my head on the keyboard a bit and see if that helps.

Chris
#8   Old 17-Feb-07, 03:51   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
sarah: thank you for the nice offer... I am looking forward to feedback from both you and other mac users - you can either post it here or just email it to me via gmail and I will post it on the greenscreen page with credit to you. Personally, I would like to hear more about what you are developing...

pxegeek: It takes a bit more to compile a dll for windows now and I can't remember where the new instructions for compiling a dll are...you have to pre-compile a lib to access those functions. It's late now but I will try to find the info for you tomorrow.
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#9   Old 17-Feb-07, 08:53   
Reply With Quote
pxegeek pxegeek is offline
Member
 
Join Date: Oct 2005
Posts: 23
I've been googling a while, but without much luck. (Doesn't help that I'm not quite sure what I'm looking for.) None of the sequence documentation seems to have been updated recently.
#10   Old 18-Feb-07, 02:14   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
I fixed a couple of bugs, made a few changes to the layout of the buttons, and added the option to select a different background color. I also added alot to the greenscreen page...

pxegeek: I finally found this: http://projects.blender.org/pipermai...ne/006953.html
All of the devs have been concentraiting on the new release now but maybe in a day or 2 I can get a better explanation of what to do...
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#11   Old 18-Feb-07, 18:21   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
pxegeek: I found a great page for compiling dlls for windows! ... the only problem is that it is for visual c++ and I see that you are using lcc ...any chance you want to go through the hassle of installing msvc? Maybe I can try to decipher what she is doing and try to remember enough of lcc ( I used it when I was on windows ) to get a working dll...
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#12   Old 19-Feb-07, 05:14   
Reply With Quote
indigomonkey's Avatar
indigomonkey indigomonkey is offline
Member
 
Join Date: Oct 2004
Location: Southern England
Posts: 1,027
Where's this site, paprmh? I have visual c++ express edition, so I could give it a try if you like.

EDIT: Oh, but bear in mind that I haven't yet really used it... sometime when I have less work!

Last edited by indigomonkey; 19-Feb-07 at 10:14.
#13   Old 19-Feb-07, 09:21   
Reply With Quote
indigomonkey's Avatar
indigomonkey indigomonkey is offline
Member
 
Join Date: Oct 2004
Location: Southern England
Posts: 1,027
Lil update - I've put the chromakey-hsv-2.43.c file in <blenderCVS>\blender\source\blender\blenpluginap i. In the VC++ project, I've added all the files from this location. Then when I RMB->compile on chromakey-hsv-2.43.c, it works... sorta! It succeeds but with plenty of warnings, which I'm not sure how serious they are.
<removed for forum formatting>
Lovely long block of warnings. However, there doesn't seem to be any output .dll at this point, perhaps understandably. If I attempt RMB->Build on the project, it fails with the following messages:
<removed for forum formatting>
I dare say I'm going about it all the wrong way anyway, but never mind...

Last edited by indigomonkey; 19-Feb-07 at 17:35. Reason: Lovely buggy code tags
#14   Old 19-Feb-07, 11:30   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
dang it... I thought I put the link in the last message... sorry about that...
http://stephane.soppera.googlepages.com/blender

indigomonkey: Her guide looks pretty complete and shows the lib you have to precompile first...but it appears that she uses the command line to do it, not the gui. As I said, I always used lcc for seq plugins when I was in windows. I have no idea how msvc works so I can't help you much as far as using it but at least I can help a bit with the warnings and errors...

I am not sure what the redefs are about but the warnings can be ignored... most are showing that I declared some variables and then didn't use them (actually I took the code out that used them and forgot to remove the variables ) and that doesn't matter.

the errors in the the build are from not having the lib I mentioned precompiled...seems to me that the project file should do it automatically though...but like I said, I have never even used msvc so I don't know for sure.

EDIT: I believe the source file should go into the plugins/sequence folder...not sure how win folders are set up but in linux it's blender/install/linux2/plugins/sequence.
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_

Last edited by paprmh; 19-Feb-07 at 16:56.
#15   Old 19-Feb-07, 16:36   
Reply With Quote
indigomonkey's Avatar
indigomonkey indigomonkey is offline
Member
 
Join Date: Oct 2004
Location: Southern England
Posts: 1,027
Yep, that's what I thought. But following that link worked like a dream! You do need to enable VC++ command line though, so go here to get that working. Apart from that it was fine! I shall find somewhere to upload it where they actually take .dlls, and post the link here.

EDIT: Success! The dll can be found here. Well, that was exciting, my first C++ dll. OK, so I didn't actually WRITE it myself...

Last edited by indigomonkey; 19-Feb-07 at 17:37.
#16   Old 19-Feb-07, 17:28   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
that's great! thank you very much. I will post it in the chromakey thread...any chance you could compile greenscreen for me too? (did you notice that you were in the wrong thread?)

BTW: you can also just email the file to me at gmail if you don't want to bother with savefile...
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_

Last edited by paprmh; 19-Feb-07 at 18:21.
#17   Old 19-Feb-07, 18:10   
Reply With Quote
indigomonkey's Avatar
indigomonkey indigomonkey is offline
Member
 
Join Date: Oct 2004
Location: Southern England
Posts: 1,027
Whoops! I somehow merged them into one entity in my head! Yep, the greenscreen can be found here.

Edit - sorry, posted it at savefile before I saw your edit!
#18   Old 19-Feb-07, 18:38   
Reply With Quote
paprmh paprmh is offline
Member
 
Join Date: Jul 2002
Posts: 574
thanks again indigomonkey! It's now posted on the greenscreen page.

Quote:
Originally Posted by indigomonkey
Well, that was exciting, my first C++ dll. OK, so I didn't actually WRITE it myself...
heh heh heh...once you start compiling blender stuff it gets addicting... The biggest rush is when you successfully compile blender for the first time

now I wait to see if anyone else is able to get good results with it...
............................................
I have found that for the most part, it is better for me to keep my mouth shut and let people think that I am stupid than to open my mouth and prove it... dang... did it again
\\//_
#19   Old 19-Feb-07, 19:19   
Reply With Quote
sarah's Avatar
sarah sarah is offline
Member
 
Join Date: Jan 2007
Location: Southern California
Posts: 279
Quote:
Originally Posted by paprmh View Post
sarah: thank you for the nice offer... I am looking forward to feedback from both you and other mac users - you can either post it here or just email it to me via gmail and I will post it on the greenscreen page with credit to you. Personally, I would like to hear more about what you are developing...
Well, I'm working on some texture plugins, so I'd like to know how to compile plugins on as many platforms as I have the hardware and patience for...

I'm interested in the greenscreen because I'm interested in trying to combine some live action puppetry with some blender stuff. But the puppet's not done either, and I don't have any greenscreen yet either. So it might be a little while before I get that far!

Sarah
#20   Old 21-Feb-07, 04:12   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 23:33.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists