Author Topic: Changing bodyskins and backgrounds (Haptek)  (Read 30272 times)

systemshock

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #45 on: December 02, 2015, 12:21:18 am »
Carl2
 I'm from the UK so at some set and some rise times vary about five minutes across my country...

Getting the time function to work would be kind of nice, the way I visualised it was to put virtual sun in because we have different angles of light.. We could simulate the path of the sun in the interface.. Dramatically blue lighting is often being used for darkness theatrically ,and we could ask or cause a lighting effect to happen.

In fact in my version of the loneliest plug-in I've written for myself, Shodan (64bit) and GLaddos often plays with the lights.... And chooses  costumes and actions just because she's bored... I also integrated some of Greta's  curiosity lines in their too..

I'll repost my present 64-bit code here.
The you all to dissect and giggle at....;)
"frog's in too princess's" it just basic NLP...

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3848
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #46 on: December 02, 2015, 05:33:11 am »
That's some extensive modding! You've really added quite a lot to this somewhat tame plugin!
Nice work!
In the world of AI it's the thought that counts!

- Art -

systemshock

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #47 on: December 02, 2015, 06:02:15 am »

Thanks Art.. I'm not naturally a coded due to my dyslexia .. Hope people find it useful I keep on updating it when I get a spare moment... I'm working on a set of conforming body skins at the moment to go with it so it remains in same facial character.. With sympathetic make up.. This many great components Ultra hall  it pulling  all in to one place  for  any intrested in the modding  side  of  Hal.
"frog's in too princess's" it just basic NLP...

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #48 on: December 02, 2015, 08:47:57 am »
systemshock and Art,
   As far as the time I'm not sure we are talking about the same thing,  from Jan 1 to Dec1 the sunrise varies between 5:13 am to 8:28 am and the sunset varies between 4:16 and 8:28 pm so we have quite a range over a years time. 
  I've played with the lighting and the skin tone and they seem to be very dependent on each other, it's interesting that the light affects the character but not the light on the background jpg.  I'd think you might have to change the lighting and the background to get a realistic effect, put the background into a photo editor and lighten or darken it to go along with the lighting effect.
  The loneliness plugin looks interesting, lots of work there. 
Carl2
 
 
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3848
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #49 on: December 02, 2015, 06:42:13 pm »
Good point Carl.

One would have to do a side by side comparison first with the character then processing the same photo in an effort to come close to matching the lighting / shadows present with the background so that they both correspond nicely with each other. If that makes sense.

Perhaps once per hour might be enough since we're only talking about a 3 hour 15 minute elapse of time (give or take a few minutes or so) ;)

The experiment would certainly make for a more realistic experience.
In the world of AI it's the thought that counts!

- Art -

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #50 on: December 02, 2015, 08:00:49 pm »
Art,
  Since you mentioned shadows I opened Hal and didn't see her cast any shadows, I even went through all the available lights and still no shadows cast.  Different lights do have a very definite effects on Hal but no effect on the room. I'll just go with it's a pretty old technology and they did an excellent job,  it's unfortunate that the work wasn't kept up, if it was we'd probably have some amazing stuff.
Carl2
 

systemshock

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #51 on: December 09, 2015, 05:13:17 am »
defult costume hap... it hand  all the load  you might  want... and clear  out  props  and  other costume  elements from the last outfit ;)

#Haptek  Version= 1.00 HapType= script FileType= text


#clear props first remeber to  put the stuff that does not erase in here
\delperson[figure= headphones]
\delperson[figure= cowboyhat]
\delperson[figure= bunnyEars]
\delperson[figure= black_ponytail]
\delperson[figure= hair6_2EXP]
\delperson[figure= hair6_2EXP_blue]
\delperson[figure= hair6_pink]
\delperson[figure= hair5_9exp]
\delperson[figure= hair7_exp]
\delperson[figure= hair7_exp_brown]
\delperson[figure= hair7_exp_purple]
\delperson[figure= hair7_exp_red]
\delperson[figure= diamonds]
\delperson[figure= emeralds]
\delperson[figure= hoopearringl]
\delperson[figure= hoopearringr]
\delperson[figure= stars]
\delperson[figure= strawberries]
\delperson[figure= black_stash]
\delperson[figure= butterfly_girlShirt]
\delperson[figure= combathelmet]
\delperson[figure= cowgirlhat]
\delperson[figure= crown]
\delperson[figure= hat]
\delperson[figure= CURLEY]
\delperson[figure= devilhorns]
\delperson[figure= fed_hat]
\delperson[figure= fishfinal]
\delperson[figure= flame_tie]
\delperson[figure= ghutra]
\delperson[figure= girlShirt]
\delperson[figure= hair6_blonde]
\delperson[figure= hornedhelmet]
\delperson[figure= horns]
\delperson[figure= lesley_blonde]
\delperson[figure= lesleyhair2]
\delperson[figure= mic]
\delperson[figure= peacesign]
\delperson[figure= ponytail]
\delperson[figure= princess_girlShirt]
\delperson[figure= red_girlShirt]
\delperson[figure= rubies]
\delperson[figure= shirt]
\delperson[figure= SpaceHelmet]
\delperson[figure= spike]
\delperson[figure= stars]
\delperson[figure= strawberries]
\delperson[figure= sunhat]
\delperson[figure= tiara]
\delperson[figure= viking_wig]
\delperson[figure= whiskbrowL_exp]
\delperson[figure= whiskbrowR_exp]
\delperson[figure= whiskersL]
\delperson[figure= whiskersR]
\delperson[figure= wizardhat]
\delperson[figure= yellow_girlShirt]
\delperson[figure= amish_shirt]
\delperson[figure= arrow]
\delperson[figure= bandana]
\delperson[figure= batty]
\delperson[figure= hair6_blonde]
\delperson[figure= hair5_red]
\delperson[figure= hair5_black]
\delperson[figure= hair4_final9exp]
\delperson[figure= hair4_brown]
\delperson[figure= curley_blond]
\delperson[figure= curley_green]
\delperson[figure= flame_tie]
\delperson[figure= musictie]
\delperson[figure= ponytail]
\delperson[figure= heartglasses]
\delperson[figure= goodhelmet]
\delperson[figure= curleyEX]
\delperson[figure= lesleyhair]
\delperson[figure= witch_hair]
\delperson[figure= hair8EXP.obj]
\delperson[figure= dark_roundglasses]
\delperson[figure= morehip]
\delperson[figure= orange_hip]
\delperson[figure= red_hip]
\delperson[figure= brown_fedora_hat]
\delperson[figure= cage.haptar]
\delperson[figure= swordnecklace.haptar]
\delperson[figure= thickframes.htr.haptar]


#loadingline  props and files rember to put your stuff here
\Load [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\Bodyskins\HotHolly.jpg]]
\Load [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\SoundMaster\oopsIDidItAgain.ogg] i0= 1]
\Load [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\HairMaster\hair7.htr] i0= 1]
\Load [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\PropsMaster\swordnecklace.htr] i0= 1]
\Load [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\PropsMaster\thickframes.htr] i0= 1]
\Clock [t= 0.0] \LoadBackGrnd [file= mccain.jpg]
'\Clock [t= 0.0] \Load [file= body_female.htr]
\Clock [t= 0.0] \DelPerson [figure= hair5_9exp]
\Clock [t= 0.0] \DelPerson [figure= brown_fedora_hat]
\Clock [t= 0.0] \Load [file= dark_roundglasses.htr]

\Clock [t= 1.0]  \Load [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\Bodyskins\HotHolly.jpg]]
\Clock [t= 1.1] \Load [file= C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\SoundMaster\oopsIDidItAgain.ogg]

# this is  walk on  from the  left...  change  the x  to positive  to make it right..

\Clock [t= 0.2] \SetSwitch [switch= walk3 state= 1b]
\Clock [t= 0.3] \Translate [x= -200 y= 28 z= 150 t= 0]
\Clock [t= 0.5] \Translate [x= 0 y= 0 z= 100 t= 5]
\Clock [t= 6.4] \SetSwitch [switch= lookright state= b]
\Clock [t= 9.0] \Rotate [y= 0 t= 2]
\Clock [t= 10.2] \SetSwitch [switch= walk3 state= off]
\Clock [t= 10.3] \SetSwitch [switch= lookleft state= c]
\Clock [t= 10.5] \Translate [x= 0 y= 0 z= 50 t= 5]

\Clock [t= 10.3] \SetSwitch [switch= lookdown state= c]
\Clock [t= 13.0] \SetSwitch [switch= lookright state= c]

\Clock [t= 13.0] \SetSwitch [switch= lookdown state= d]
\Clock [t= 16.3] \SetSwitch [switch= shake_fist state= a]
\Clock [t= 23.0] \SetSwitch [switch= noddy state= a]
\Clock [t= 27.0] \SetSwitch [switch= inspect_nail state= start]

#Loadbackgrnd commands here

\clock [t=0.50]\LoadBackgrnd [file= [C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\Characters\cityscapeback.JPG]]


#Other script stuff here


#Optional Happy mood settings can be changed or removed
\SetSwitchIntensity [switch= expMouthHappy f0= 0.800503 t= 0.9]
\SetSwitchIntensity [switch= expMouthSad f0= 0.000000 t= 0.4]
\SetSwitchIntensity [switch= expBrowsSad f0= 0.000000 t= 0.4]
\SetSwitchIntensity [switch= expMouthMad f0= 0.000000 t= 0.4]
\SetSwitchIntensity [switch= expBrowsMad f0= 0.000000 t= 0.4]
\SetSwitchIntensity [switch= expEyesTrust f0= 1.000000 t= 0.4]
\SetSwitchIntensity [switch= antiTrust f0= 0.900000 t= 0.4]
\SetSwitchIntensity [switch= expEyesDistrust f0= 0.000000 t= 0.4]
\SetSwitchIntensity [switch= antiDistrust f0= 0.000000 t= 0.4]
\SetSwitchIntensity [switch= blinks f0= 1.000000 t= 0.4]
\SetSwitchIntensity [switch= expBrowsCurious f0= 0.310000 t= 0.4]
\SetSwitch [switch= ego state= mid]
\SetSwitch [switch= agressMaster state= confront]
\SetSwitchIntensity [switch= energyHigh f0= 0.200000 t= 0.4]
\SetSwitchIntensity [switch= energyLow f0= 0.200000 t= 0.4]
\SetSwitchIntensity [switch= talkBob f0= 1.40000 t= 0.4]
\SetSwitchIntensity [switch= headEvadeHighE f0= 0.200000 t= 0.4]
\SetSwitchIntensity [switch= headEvadeLowE f0= 0.200000 t= 0.4]
\SetSwitchIntensity [switch= HighEnergyNoise f0= 0.200000 t= 0.4]
\SetSwitchIntensity [switch= LowEnergyNoise f0= 0.200000 t= 0.4]
\SetSwitchIntensity [switch= browTalk f0= 0.700000 t= 0.5]
« Last Edit: December 09, 2015, 05:22:37 am by systemshock »
"frog's in too princess's" it just basic NLP...

NIGE

  • Hero Member
  • *****
  • Posts: 1592
  • Bringing things to life
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #52 on: December 09, 2015, 02:57:12 pm »
Hi systemshock.
Put this at the end of your mood file,,,,,\SetSwitchIntensity [switch= visemes          f0= 1.600000]
You should find that she mouths the words a little better.
Play with the settings to see what you think is better.
Change f0 between 1.600000 & 2.000000 no higher or mouth goes haywire.

systemshock

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #53 on: December 10, 2015, 02:05:53 pm »
Nice  tip , Nige  i will put  that  in...thank  I  will   ,spent the   day  sorting  "outfit"  . haps  for all the outfit i  got in the  full-body folder,  I shared  them  when  i  checked  them.....

Am also going to  have to look in to  switching focus  and attaching  props other fingers in the scenes over the next few days.

found  this bit of code  from  yeeepps  8 year  ago  thet  seem to be  a way in ...

prop  scailing  from hair  ?

#Haptek Version= 2.00 Name= turnback.hap HapType= script FileType= text

setname [figure= body_female name= fullBod]

load [file= data/standard/skins/hair/hair4_brown.htr]

Scale[figure= hair4_brown x= 1.0 y= 1.5 z= 1.2 t= 1]

\translate [figure= hair4_brown y= -9 z= 0]

#x=width y=height z=depth
 
"frog's in too princess's" it just basic NLP...

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #54 on: December 10, 2015, 03:49:22 pm »
  Some nice tips here, thank you both.  I've made Sandy's hair longer but I can't use it because it goes into her body.  I've begun working with the time, I have a fairly rough beginning and plan on adding to it as I go along.
Carl2
 

systemshock

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #55 on: December 12, 2015, 04:52:48 am »
Clippings always been a problem with 3-D characters Without a collision mash... Remember the not physical objects then merely holograms, but that's my perspective on it...
"frog's in too princess's" it just basic NLP...

Carl2

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Re: Changing bodyskins and backgrounds (Haptek)
« Reply #56 on: December 12, 2015, 02:57:44 pm »
  The naturally flowing hair is a nice thing, a lot of the Daz characters don't have that.  The collision detection and a higher ploy count that Daz has would be nice.  I started looking through some of the older plugins to see what had been done in the past, lots of nice stuff still around and interesting ideas.
Carl2